Skip to content
Snippets Groups Projects
Commit b0333e3e authored by Andreas Antener's avatar Andreas Antener
Browse files

allow transition commands in auto mode

parent 77782bd2
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment