Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed MatrixMath LPS25HB_I2C LSM9DS1 Matrix2 PIDcontroller LoopTicker SBUS_without_mainfile UsaPack solaESKF_wind Vector3 CalibrateMagneto FastPWM
Diff: global.cpp
- Revision:
- 85:0b14a2a600fc
- Parent:
- 84:028bd650e8bc
- Child:
- 87:981895e1d4f2
--- a/global.cpp Mon Dec 06 12:58:20 2021 +0000 +++ b/global.cpp Fri Dec 10 12:15:01 2021 +0000 @@ -49,6 +49,7 @@ Vector3 magref(0.65f, 0.0f, 0.75f); Vector3 gyro; Vector3 vb; +Matrix euler(3,1); MedianFilter accMedian(3); MedianFilter gyroMedian(3); MedianFilter magMedian(3); @@ -78,7 +79,7 @@ Vector3 rpy_align(0.0f*M_PI/180.0f, 0.0f*M_PI/180.0f, 0.0f); // eepromのread writeのためのunionを定義 -const int eeprom_address = 0xAE; // EEPROMの3つの入力が全て+より +const int eeprom_address = 0xA0; // EEPROMの3つの入力が全て+より const int eeprom_pointeraddress = 0; // UsaPack