mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 03:03:34 +08:00
ekf2: apply yaw reset to vision attitude error filter
- set vision attitude error filter uninitialized if vision data stops - ev error filter is only compiled when ev config is selected Co-authored-by: bresch <brescianimathieu@gmail.com>
This commit is contained in:
@@ -81,6 +81,8 @@ void Ekf::controlExternalVisionFusion()
|
||||
stopEvYawFusion();
|
||||
stopEvHgtFusion();
|
||||
|
||||
_ev_q_error_initialized = false;
|
||||
|
||||
_warning_events.flags.vision_data_stopped = true;
|
||||
ECL_WARN("vision data stopped");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user