fw: increase invalid airspeed threshold

This commit is contained in:
Thomas Gubler 2014-01-22 14:58:09 +01:00
parent fdef07912c
commit 480d31f754
1 changed files with 1 additions and 1 deletions

View File

@ -637,7 +637,7 @@ FixedwingAttitudeControl::task_main()
/* if airspeed is smaller than min, the sensor is not giving good readings */
if (!_airspeed_valid ||
(_airspeed.indicated_airspeed_m_s < 0.1f * _parameters.airspeed_min) ||
(_airspeed.indicated_airspeed_m_s < 0.5f * _parameters.airspeed_min) ||
!isfinite(_airspeed.indicated_airspeed_m_s)) {
airspeed = _parameters.airspeed_trim;