mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 07:43:35 +08:00
EKF2 set zero unused estimator_status fields
This commit is contained in:
committed by
Lorenz Meier
parent
f47d0c8f8c
commit
7b1b255158
@@ -1102,6 +1102,9 @@ void Ekf2::run()
|
||||
_ekf.get_ekf_soln_status(&status.solution_status_flags);
|
||||
_ekf.get_imu_vibe_metrics(status.vibe);
|
||||
status.time_slip = _last_time_slip_us / 1e6f;
|
||||
status.nan_flags = 0.0f; // unused
|
||||
status.health_flags = 0.0f; // unused
|
||||
status.timeout_flags = 0.0f; // unused
|
||||
status.pre_flt_fail = _preflt_fail;
|
||||
|
||||
if (_estimator_status_pub == nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user