ekf2: Publish estimator solution status flags

This commit is contained in:
Paul Riseborough
2016-10-06 14:54:50 +11:00
committed by Lorenz Meier
parent fa47569aa5
commit 6eabf80f2a
+1
View File
@@ -873,6 +873,7 @@ void Ekf2::task_main()
&status.hagl_test_ratio);
bool dead_reckoning;
_ekf.get_ekf_accuracy(&status.pos_horiz_accuracy, &status.pos_vert_accuracy, &dead_reckoning);
_ekf.get_ekf_soln_status(&status.solution_status_flags);
if (_estimator_status_pub == nullptr) {
_estimator_status_pub = orb_advertise(ORB_ID(estimator_status), &status);