solaESKF_EIGEN

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

Revision:
141:725321fe2949
Parent:
139:b378528c05f2
Child:
144:b3a713b4f1c4
--- a/main.cpp	Mon Dec 06 11:37:55 2021 +0000
+++ b/main.cpp	Fri Dec 10 10:43:50 2021 +0000
@@ -2,14 +2,14 @@
 
 int main()
 {    
-//    setup();
-//    calibrationFlag = userButton.read();  
-//    if(calibrationFlag == 0)
-//    {
-//        run();
-//    }
-//    else
-//    {
-//        calibrate();
-//    }
+    setup();
+    calibrationFlag = userButton.read();  
+    if(calibrationFlag == 0)
+    {
+        run();
+    }
+    else
+    {
+        calibrate();
+    }
 }
\ No newline at end of file