had the wrong variable and wrong setpoint type

This commit is contained in:
andre-nguyen
2014-06-04 00:04:31 -04:00
parent e12d3af503
commit abbf57dac6
2 changed files with 8 additions and 7 deletions

View File

@@ -379,6 +379,7 @@ MavlinkReceiver::handle_message_quad_swarm_roll_pitch_yaw_thrust(mavlink_message
case 4:
ml_mode = OFFBOARD_CONTROL_MODE_DIRECT_POSITION;
ml_armed = true;
break;
default:
break;