mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-30 02:00:35 +08:00
consider transition state in posctl
This commit is contained in:
committed by
Simon Wilks
parent
86279dab6b
commit
f93e600b8c
@@ -2580,8 +2580,8 @@ set_control_mode()
|
||||
control_mode.flag_control_attitude_enabled = true;
|
||||
control_mode.flag_control_altitude_enabled = true;
|
||||
control_mode.flag_control_climb_rate_enabled = true;
|
||||
control_mode.flag_control_position_enabled = true;
|
||||
control_mode.flag_control_velocity_enabled = true;
|
||||
control_mode.flag_control_position_enabled = !vtol_status.vtol_in_trans_mode;
|
||||
control_mode.flag_control_velocity_enabled = !vtol_status.vtol_in_trans_mode;
|
||||
control_mode.flag_control_termination_enabled = false;
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user