mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-14 07:03:34 +08:00
EKF: fix rng_faulty flag when sensor is stuck
This commit is contained in:
committed by
Paul Riseborough
parent
640e41cba7
commit
933189eac0
+1
-1
@@ -1244,7 +1244,7 @@ void Ekf::checkRangeDataValidity()
|
||||
}
|
||||
|
||||
_control_status.flags.rng_stuck = true;
|
||||
_rng_hgt_faulty = (_range_sample_delayed.quality == 0);
|
||||
_rng_hgt_faulty = true;
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user