Commander attitude flag fix

This commit is contained in:
t0ni0
2014-06-16 17:47:10 -04:00
parent 74ae18c245
commit 6183390547
+1 -1
View File
@@ -1835,7 +1835,7 @@ set_control_mode()
break;
case OFFBOARD_CONTROL_MODE_DIRECT_POSITION:
control_mode.flag_control_rates_enabled = true;
control_mode.flag_control_attitude_enabled = false;
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;