EKF: remove un-used airspeed health class variable

Airspeed rejection now is captured in _sensor_fault_status
This commit is contained in:
Paul Riseborough
2016-06-01 17:13:00 +10:00
parent 388e500180
commit 8125717bf5
3 changed files with 0 additions and 4 deletions
-2
View File
@@ -138,12 +138,10 @@ void Ekf::fuseAirspeed()
// If the innovation consistency check fails then don't fuse the sample and indicate bad airspeed health
if (_tas_test_ratio > 1.0f) {
_airspeed_healthy = false;
_sensor_fault_status.flags.reject_airspeed = true;
return;
}
else {
_airspeed_healthy = true;
_sensor_fault_status.flags.reject_airspeed = false;
}