EKF: add flt_mag_align_complete to control_status flags

Signed-off-by: CarlOlsson <carlolsson.co@gmail.com>
This commit is contained in:
CarlOlsson
2019-01-13 23:48:46 +01:00
committed by Lorenz Meier
parent b920910483
commit d223680197
4 changed files with 18 additions and 18 deletions
-1
View File
@@ -411,7 +411,6 @@ private:
// Variables used to control activation of post takeoff functionality
float _last_on_ground_posD{0.0f}; ///< last vertical position when the in_air status was false (m)
bool _flt_mag_align_complete{false}; ///< true when the in-flight mag field alignment has been completed
bool _flt_mag_align_converging{false}; ///< true when the in-flight mag field post alignment convergence is being performd
uint64_t _flt_mag_align_start_time{0}; ///< time that inflight magnetic field alignment started (uSec)
uint64_t _time_last_movement{0}; ///< last system time that sufficient movement to use 3-axis magnetometer fusion was detected (uSec)