EKF2 estimator_status fill n_states and use correct type for health_flags and timeout_flags

This commit is contained in:
Daniel Agar
2018-06-24 20:54:12 -04:00
parent 2bf90574ed
commit 0626527d2c
+1
View File
@@ -1414,6 +1414,7 @@ void Ekf2::run()
estimator_status_s status;
status.timestamp = now;
_ekf.get_state_delayed(status.states);
status.n_states = 24;
_ekf.get_covariances(status.covariances);
_ekf.get_gps_check_status(&status.gps_check_fail_flags);
status.control_mode_flags = control_status.value;