Eigen Revision

Dependencies:   mbed LPS25HB_I2C LSM9DS1 PIDcontroller Autopilot_Eigen LoopTicker GPSUBX_UART_Eigen SBUS_without_mainfile MedianFilter Eigen UsaPack solaESKF_Eigen Vector3 CalibrateMagneto FastPWM

Revision:
104:20b8caa29185
Parent:
102:1c77ff6e2a85
Child:
106:2d854e92cebb
Child:
107:46e039e12182
--- 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;