HAPSRG / Mbed 2 deprecated HAPStail

Dependencies:   mbed MatrixMath LPS25HB_I2C LSM9DS1 Matrix2 PIDcontroller LoopTicker SBUS_without_mainfile UsaPack solaESKF_wind Vector3 CalibrateMagneto FastPWM

Revision:
91:393b9ae62681
Parent:
90:0b1f62f7a83a
Child:
95:98dbbcc6b39d
Child:
96:0be0d80d5299
diff -r 0b1f62f7a83a -r 393b9ae62681 global.hpp
--- a/global.hpp	Thu Jan 13 08:38:56 2022 +0000
+++ b/global.hpp	Thu Jan 13 09:21:24 2022 +0000
@@ -42,8 +42,6 @@
 
 struct valuePack
 {
-    float gyroBias[3];
-    float gyroBiasCov[6];
     float acc[3];
     float gyro[3];
     float mag[3];
@@ -53,17 +51,16 @@
     float deobj;
     float rc[5];
     int calibEndFlag;
+    int readyFlag;
 };
 
 struct updatePack
 {
-    bool gpsUpdateFlag;
     int calibrationFlag;
     char gps_fix;
     int gps_itow;
     float vi[3];
     float pi[3];
-    float gyroBias[3];
     float de_command;
 };
 
@@ -174,6 +171,7 @@
 
 // run.cpp
 extern int gpsitow;
+extern bool prefligt_finished;
 extern void run();
 
 // imu.cpp