aboutsummaryrefslogtreecommitdiff
path: root/src/modules/fw_att_control/fw_att_control_main.cpp
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-01-22 14:58:09 +0100
committerThomas Gubler <thomasgubler@gmail.com>2014-01-22 14:58:09 +0100
commit480d31f7548d2a4dc7ad55dc2de1f9733045bbd3 (patch)
tree5d6a12413e34efdc82f93536018b5410a78f2fa1 /src/modules/fw_att_control/fw_att_control_main.cpp
parentfdef07912caf2346e80b19e8e56a030e8d4afb91 (diff)
downloadpx4-firmware-480d31f7548d2a4dc7ad55dc2de1f9733045bbd3.tar.gz
px4-firmware-480d31f7548d2a4dc7ad55dc2de1f9733045bbd3.tar.bz2
px4-firmware-480d31f7548d2a4dc7ad55dc2de1f9733045bbd3.zip
fw: increase invalid airspeed threshold
Diffstat (limited to 'src/modules/fw_att_control/fw_att_control_main.cpp')
-rw-r--r--src/modules/fw_att_control/fw_att_control_main.cpp2
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;