diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-01-22 14:58:09 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-01-22 14:58:09 +0100 |
commit | 480d31f7548d2a4dc7ad55dc2de1f9733045bbd3 (patch) | |
tree | 5d6a12413e34efdc82f93536018b5410a78f2fa1 /src | |
parent | fdef07912caf2346e80b19e8e56a030e8d4afb91 (diff) | |
download | px4-firmware-480d31f7548d2a4dc7ad55dc2de1f9733045bbd3.tar.gz px4-firmware-480d31f7548d2a4dc7ad55dc2de1f9733045bbd3.tar.bz2 px4-firmware-480d31f7548d2a4dc7ad55dc2de1f9733045bbd3.zip |
fw: increase invalid airspeed threshold
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/fw_att_control/fw_att_control_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/fw_att_control/fw_att_control_main.cpp b/src/modules/fw_att_control/fw_att_control_main.cpp index c94180d68..e49b3c140 100644 --- a/src/modules/fw_att_control/fw_att_control_main.cpp +++ b/src/modules/fw_att_control/fw_att_control_main.cpp @@ -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; |