mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-17 02:50:34 +08:00
ekf2: Publish estimator solution status flags
This commit is contained in:
committed by
Lorenz Meier
parent
fa47569aa5
commit
6eabf80f2a
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user