mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 10:33:33 +08:00
commander: monitor GPS validity and EKF2 dead reckoning
- ekf2: expose dead reckoning as control status flags
- commander:
- add GPS validity check
- in AUTO MISSION if dependent on GPS then a loss of GPS will
This commit is contained in:
@@ -72,7 +72,7 @@ void Ekf::fuseSideslip()
|
||||
const float R_BETA = sq(_params.beta_noise); // observation noise variance
|
||||
|
||||
// determine if we need the sideslip fusion to correct states other than wind
|
||||
bool update_wind_only = !_is_wind_dead_reckoning;
|
||||
bool update_wind_only = !_control_status.flags.wind_dead_reckoning;
|
||||
|
||||
// Intermediate Values
|
||||
const float HK0 = vn - vwn;
|
||||
|
||||
Reference in New Issue
Block a user