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 LPS25HB_I2C LSM9DS1 PIDcontroller Autopilot_Eigen LoopTicker GPSUBX_UART_Eigen SBUS_without_mainfile MedianFilter Eigen UsaPack solaESKF_Eigen Vector3 CalibrateMagneto FastPWM
Diff: global.hpp
- Revision:
- 104:20b8caa29185
- Parent:
- 102:1c77ff6e2a85
- Child:
- 106:2d854e92cebb
- Child:
- 107:46e039e12182
diff -r fec71c2051c5 -r 20b8caa29185 global.hpp --- a/global.hpp Wed Nov 10 05:22:31 2021 +0000 +++ b/global.hpp Wed Nov 10 06:34:16 2021 +0000 @@ -13,12 +13,12 @@ #include "MatrixMath.h" #include "LSM9DS1.h" #include "LPS.h" -#include "MagElipCalibration.hpp" +#include "MagSphereCalibration.hpp" #include "solaESKF.hpp" #include "MedianFilter.hpp" #include "GPSUBX_UART.hpp" -#define magresThreshold 0.05f +#define magresThreshold 0.025f #define M_PI 3.141592f #define ACCEL_SSF 4096.0f #define GYRO_SSF 131.0f @@ -65,7 +65,7 @@ extern LSM9DS1 lsm; extern LPS lps; extern GPSUBX_UART gps; -extern MagElipCalibration magCalibrator; +extern MagSphereCalibration magCalibrator; extern float magres; // control extern Timer _t;