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:
Daniel Agar
2023-07-24 10:32:33 -04:00
committed by GitHub
co-authored by bresch
parent 190371c6ee
commit 01bcc47fb1
2 changed files with 10 additions and 0 deletions
+2
View File
@@ -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");
}