Plane: fixed mission resume at arbitrary waypoints
on completion of a mission a user can ask for it to resume at any wp
This commit is contained in:
parent
a55c4e2296
commit
f6b56b5d26
@ -1339,6 +1339,9 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
|
||||
case MAVLINK_MSG_ID_MISSION_SET_CURRENT:
|
||||
{
|
||||
handle_mission_set_current(mission, msg);
|
||||
if (control_mode == AUTO && mission.state() == AP_Mission::MISSION_STOPPED) {
|
||||
mission.resume();
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user