HAPSRG / Mbed 2 deprecated HAPStail

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

Revision:
73:be7a8b8188de
Parent:
71:62eb45ecffe9
Child:
77:b06a5f8554f4
Child:
79:aa2631950f46
diff -r 43dfa7a597e7 -r be7a8b8188de global.cpp
--- a/global.cpp	Fri Aug 20 07:51:51 2021 +0000
+++ b/global.cpp	Wed Aug 25 07:01:12 2021 +0000
@@ -5,7 +5,7 @@
 // communication
 Serial pc(USBTX, USBRX);
 I2C i2c(PB_9,PB_8);  // sda, scl
-UsaPack tail(PG_14, PG_9, 57600); // log - tail
+UsaPack tail(PG_14, PG_9, 115200); // log - tail
 SBUS sbus(PD_5, PD_6);
 
 // sensor
@@ -77,10 +77,9 @@
 // UsaPack
 const int tail_address[3] = {1111, 2222, 3333};
 const int time_address = 4444;
-valuePack posValues[3];
+valuePack posValues;
+updatePack updateValues;
 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)
 {