Skip to content
Snippets Groups Projects
Commit 7b1b2551 authored by Daniel Agar's avatar Daniel Agar Committed by Lorenz Meier
Browse files

EKF2 set zero unused estimator_status fields

parent f47d0c8f
No related branches found
No related tags found
No related merge requests found
......@@ -1102,6 +1102,9 @@ void Ekf2::run()
_ekf.get_ekf_soln_status(&status.solution_status_flags);
_ekf.get_imu_vibe_metrics(status.vibe);
status.time_slip = _last_time_slip_us / 1e6f;
status.nan_flags = 0.0f; // unused
status.health_flags = 0.0f; // unused
status.timeout_flags = 0.0f; // unused
status.pre_flt_fail = _preflt_fail;
if (_estimator_status_pub == nullptr) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment