Fixed rates flags

This commit is contained in:
Benjamin O'Connell-Armand
2014-06-14 18:46:18 -04:00
parent 670d8c91e9
commit 74ae18c245

View File

@@ -1834,7 +1834,7 @@ set_control_mode()
control_mode.flag_control_velocity_enabled = true;
break;
case OFFBOARD_CONTROL_MODE_DIRECT_POSITION:
control_mode.flag_control_rates_enabled = false;
control_mode.flag_control_rates_enabled = true;
control_mode.flag_control_attitude_enabled = false;
control_mode.flag_control_altitude_enabled = true;
control_mode.flag_control_climb_rate_enabled = true;