mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 22:33:34 +08:00
EKF: Clean up wind state activation logic
Ensure wind states are deactivated in one place and always when in a non-position mode. Activate wind states separately for each observation method.
This commit is contained in:
committed by
Daniel Agar
parent
44ebfb8c43
commit
ee94980a8f
@@ -158,6 +158,7 @@ void Ekf::fuseAirspeed()
|
||||
|
||||
if (is_fused) {
|
||||
_time_last_arsp_fuse = _time_last_imu;
|
||||
_control_status.flags.fuse_aspd = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user