mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
fw: increase invalid airspeed threshold
This commit is contained in:
parent
fdef07912c
commit
480d31f754
@ -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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user