diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-01-05 12:20:25 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-01-05 12:20:25 +0100 |
commit | d1e991f1f0183ce6855bf2df15e1fdd311d096d4 (patch) | |
tree | 9d327341c1aeb8543059f73f67637b5ad1674d27 /src/modules | |
parent | 95c20ba9f9cc57fffb64f13c7108f4cbb149bf7b (diff) | |
download | px4-firmware-d1e991f1f0183ce6855bf2df15e1fdd311d096d4.tar.gz px4-firmware-d1e991f1f0183ce6855bf2df15e1fdd311d096d4.tar.bz2 px4-firmware-d1e991f1f0183ce6855bf2df15e1fdd311d096d4.zip |
launchdetection: add minimal throttle, fix parameter update
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp b/src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp index 3405185e2..826ee0cdb 100644 --- a/src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp +++ b/src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp @@ -1028,7 +1028,7 @@ FixedwingPositionControl::control_position(const math::Vector2f ¤t_positio } } else { - throttle_max = 0.0f; + throttle_max = launchDetector.getMinThrottle(); } } |