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:
- 120:9f4725deb5a6
- Parent:
- 118:97ffe77b6f38
- Child:
- 121:1d5b3e1f0d21
--- a/global.cpp Thu Mar 31 01:08:44 2022 +0000 +++ b/global.cpp Thu Mar 31 03:33:28 2022 +0000 @@ -2,6 +2,8 @@ // var +bool hilFlag = false; + // communication UsaPack pc(USBTX, USBRX, 115200); I2C i2c(PB_9,PB_8); // sda, scl @@ -60,7 +62,8 @@ Vector3 mag; Vector3 magref(0.65f, 0.0f, 0.75f); Vector3 gyro; -Vector3 vb; +Vector3 vi; +Vector3 pi; Matrix euler(3,1); float palt; float palt0;