mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 17:53:34 +08:00
addressed review comments
Signed-off-by: RomanBapst <bapstroman@gmail.com>
This commit is contained in:
committed by
Paul Riseborough
parent
6bc6f26043
commit
16d1e15b51
+1
-1
@@ -1176,7 +1176,7 @@ void Ekf::checkRangeAidSuitability()
|
||||
|| _control_status.flags.opt_flow;
|
||||
|
||||
if (_control_status.flags.in_air
|
||||
&& !_rng_hgt_faulty
|
||||
&& _rng_hgt_valid
|
||||
&& isTerrainEstimateValid()
|
||||
&& horz_vel_valid) {
|
||||
// check if we can use range finder measurements to estimate height, use hysteresis to avoid rapid switching
|
||||
|
||||
Reference in New Issue
Block a user