EKF: fix rng_faulty flag when sensor is stuck

This commit is contained in:
Nico van Duijn
2019-09-12 17:45:37 +10:00
committed by Paul Riseborough
parent 640e41cba7
commit 933189eac0
+1 -1
View File
@@ -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 {