Adaptive QuadChute disabled in manual modes

This commit is contained in:
sanderux
2017-10-30 20:57:47 +01:00
committed by Lorenz Meier
parent fc16a31f89
commit dd9179efc9
+1 -1
View File
@@ -227,7 +227,7 @@ void VtolType::check_quadchute_condition()
// adaptive quadchute
// We use tecs for tracking in FW and local_pos_sp during transitions
if (_params->fw_alt_err > FLT_EPSILON) {
if (_params->fw_alt_err > FLT_EPSILON && _v_control_mode->flag_control_altitude_enabled) {
float altErr = 0.0f;
if (_tecs_running) {