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: global.hpp
- Revision:
- 104:f81befbc5ab7
- Parent:
- 103:34e911b94440
- Child:
- 106:36458fb9b5b7
--- a/global.hpp Mon Feb 28 12:21:31 2022 +0000 +++ b/global.hpp Tue Mar 01 06:53:06 2022 +0000 @@ -96,7 +96,11 @@ extern int itowVEL_log; extern solaESKF eskf; +extern Timer _t; extern int loop_count; +extern float tstart; +extern float tgps; +extern float theading; extern float att_dt; extern float rc[16]; @@ -176,12 +180,17 @@ extern int n_ave; extern float roll_sum; extern float pitch_sum; +extern void mainloopCalibration(); // run.cpp extern int gpsitow; extern bool prefligt_finished; extern void run(); +// preflight.cpp +extern void preflightCalibration(); +extern void preflightCheck(); + // sensor.cpp extern void getIMUval(); extern void calcOpticalVel();