mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-28 11:00:38 +08:00
fw: increase invalid airspeed threshold
This commit is contained in:
1 parent
fdef07912c
commit
480d31f754
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user