From 07eb4feed82b01c198411eceae7b8a218ac57712 Mon Sep 17 00:00:00 2001 From: Paul Riseborough Date: Sat, 16 Apr 2016 13:41:16 +1000 Subject: [PATCH] ekf2: publish GPS check status --- src/modules/ekf2/ekf2_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/ekf2/ekf2_main.cpp b/src/modules/ekf2/ekf2_main.cpp index 32835bb528..6f02fb4c8a 100644 --- a/src/modules/ekf2/ekf2_main.cpp +++ b/src/modules/ekf2/ekf2_main.cpp @@ -729,7 +729,7 @@ void Ekf2::task_main() status.timestamp = hrt_absolute_time(); _ekf->get_state_delayed(status.states); _ekf->get_covariances(status.covariances); - //status.gps_check_fail_flags = _ekf->_gps_check_fail_status.value; + _ekf->get_gps_check_status(&status.gps_check_fail_flags); if (_estimator_status_pub == nullptr) { _estimator_status_pub = orb_advertise(ORB_ID(estimator_status), &status);