From b0333e3e9598a423ee71a57c2b8f239fa4d48170 Mon Sep 17 00:00:00 2001 From: Andreas Antener Date: Wed, 6 Jan 2016 15:38:44 +0100 Subject: [PATCH] allow transition commands in auto mode --- src/modules/vtol_att_control/vtol_att_control_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/vtol_att_control/vtol_att_control_main.cpp b/src/modules/vtol_att_control/vtol_att_control_main.cpp index 65ab5f6233..b6b2cdade0 100644 --- a/src/modules/vtol_att_control/vtol_att_control_main.cpp +++ b/src/modules/vtol_att_control/vtol_att_control_main.cpp @@ -423,7 +423,7 @@ VtolAttitudeControl::is_fixed_wing_requested() { bool to_fw = _manual_control_sp.aux1 > 0.0f; - if (_v_control_mode.flag_control_offboard_enabled) { + if (_v_control_mode.flag_control_offboard_enabled || _v_control_mode.flag_control_auto_enabled) { to_fw = _transition_command == vehicle_status_s::VEHICLE_VTOL_STATE_FW; }