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:
83:e69ab831031c
Parent:
82:c183c29d2427
Child:
84:ff48e01ea76b
--- a/global.hpp	Thu Sep 16 09:30:21 2021 +0000
+++ b/global.hpp	Wed Sep 22 09:30:45 2021 +0000
@@ -36,11 +36,17 @@
 {
     int16_t accData[3];
     int16_t gyroData[3];
-    int16_t magData[3];
-    int16_t viData[3];
-    int16_t actData[4];
+    //int16_t magData[3];
     int16_t commandIndex;
-    float commandVal;
+    int16_t commandVal;
+};
+
+struct sendPack
+{
+    float da;
+    float de;
+    float dT;
+    float rpy[3];
 };
 
 // var
@@ -117,6 +123,7 @@
 
 //// UsaPack
 extern valuePack vp;
+extern sendPack sp;
 
 // HIL
 extern bool hilFlag;