HAPSRG / Mbed 2 deprecated HAPStail

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

Revision:
63:851e96f54a86
Parent:
62:ef10fd919f7b
Child:
69:0caaad87cf1d
diff -r ef10fd919f7b -r 851e96f54a86 global.cpp
--- a/global.cpp	Wed Jun 09 07:50:18 2021 +0000
+++ b/global.cpp	Tue Jun 22 07:01:20 2021 +0000
@@ -34,6 +34,10 @@
 MotionSensorDataUnits mdata;
 float magval[3] = {1.0f, 0.0f, 0.0f};
 
+// elevator
+float de;
+float deobj;
+
 // position
 Vector3 rpy(0.0f, 0.0f, 0.0f); // x:roll  y:pitch  z:yaw
 Vector3 rpy_g(0.0f, 0.0f, 0.0f); // x:roll  y:pitch  z:yaw
@@ -71,7 +75,11 @@
 
 // UsaPack
 const int tail_address[3] = {1111, 2222, 3333};
+const int time_address = 4444;
 valuePack posValues[3];
+Timer system_dt;
+timePack broadcast_time;
+timePack system_time;
 
 float mapfloat(float x, float in_min, float in_max, float out_min, float out_max)
 {