Plane: do not crosstrack after a land abort

This commit is contained in:
Tom Pittenger 2017-01-10 22:52:12 -08:00
parent 07e5b43132
commit b8784e2c4a

View File

@ -1359,6 +1359,7 @@ void GCS_MAVLINK_Plane::handleMessage(mavlink_message_t* msg)
plane.auto_state.takeoff_altitude_rel_cm = packet.param1 * 100;
}
if (plane.landing.request_go_around()) {
plane.auto_state.next_wp_no_crosstrack = true;
result = MAV_RESULT_ACCEPTED;
}
}