solaESKF_EIGEN
Dependencies: mbed LPS25HB_I2C LSM9DS1 PIDcontroller LoopTicker GPSUBX_UART_Eigen SBUS_without_mainfile MedianFilter Eigen UsaPack solaESKF_Eigen Vector3 CalibrateMagneto FastPWM
Diff: global.hpp
- Revision:
- 102:1c77ff6e2a85
- Parent:
- 101:200e98dad7f8
- Child:
- 104:20b8caa29185
diff -r 200e98dad7f8 -r 1c77ff6e2a85 global.hpp --- a/global.hpp Sun Nov 07 05:38:17 2021 +0000 +++ b/global.hpp Mon Nov 08 09:20:21 2021 +0000 @@ -18,6 +18,7 @@ #include "MedianFilter.hpp" #include "GPSUBX_UART.hpp" +#define magresThreshold 0.05f #define M_PI 3.141592f #define ACCEL_SSF 4096.0f #define GYRO_SSF 131.0f @@ -65,7 +66,7 @@ extern LPS lps; extern GPSUBX_UART gps; extern MagElipCalibration magCalibrator; - +extern float magres; // control extern Timer _t; extern FastPWM servoRight;