Browse Source

Added else if switch for ACRO/RATTITUDE Handeling to be proper

sbg
Eddy Scott 9 years ago committed by Eddy
parent
commit
72c339a7ac
  1. 2
      src/modules/commander/commander.cpp

2
src/modules/commander/commander.cpp

@ -2594,7 +2594,7 @@ set_main_state_rc(struct vehicle_status_s *status_local, struct manual_control_s @@ -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) {

Loading…
Cancel
Save