Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed MatrixMath LPS25HB_I2C LSM9DS1 Matrix2 PIDcontroller LoopTicker SBUS_without_mainfile UsaPack solaESKF_wind Vector3 CalibrateMagneto FastPWM
Diff: run.cpp
- Revision:
- 66:a210d7130a44
- Parent:
- 63:851e96f54a86
- Child:
- 69:0caaad87cf1d
diff -r 37573daaa909 -r a210d7130a44 run.cpp
--- a/run.cpp Tue Jun 22 09:25:32 2021 +0000
+++ b/run.cpp Tue Jun 22 10:12:21 2021 +0000
@@ -82,12 +82,12 @@
ekf.updateBetweenMeasures(gyro, att_dt);
ekf.computeAngles(rpy, rpy_g, rpy_align);
PIDtick.loop();
- if (broadcast_time.ms != system_time.ms)
- {
- system_time = broadcast_time;
- system_dt.reset();
- system_dt.start();
- }
+// if (broadcast_time.ms != system_time.ms)
+// {
+// system_time = broadcast_time;
+// system_dt.reset();
+// system_dt.start();
+// }
float tend = _t.read();
att_dt = (tend-tstart);