mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
ekf2: publish GPS check status
This commit is contained in:
parent
ba5d608cad
commit
07eb4feed8
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user