mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-09-22 03:11:03 +08:00
Added else if switch for ACRO/RATTITUDE Handeling to be proper
This commit is contained in:
@@ -2594,7 +2594,7 @@ set_main_state_rc(struct vehicle_status_s *status_local, struct manual_control_s
|
||||
}
|
||||
|
||||
}
|
||||
if(sp_man->rattitude_switch == manual_control_setpoint_s::SWITCH_POS_ON){
|
||||
else if(sp_man->rattitude_switch == manual_control_setpoint_s::SWITCH_POS_ON){
|
||||
/* Similar to acro transitions for multirotors. FW aircraft don't need a
|
||||
* rattitude mode.*/
|
||||
if (status.is_rotary_wing) {
|
||||
|
||||
Reference in New Issue
Block a user