Unverified Commit 1454beec authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #5958 from DonLakeFlyer/APMGoTo

ArduPilot: Fix GoTo Location
parents 2687df7e 49f7dbcc
......@@ -626,10 +626,10 @@ void PlanManager::_handleMissionAck(const mavlink_message_t& message)
// MISSION_REQUEST is expected, or MISSION_ACK to end sequence
if (missionAck.type == MAV_MISSION_ACCEPTED) {
qCDebug(PlanManagerLog) << QStringLiteral("_handleMissionAck %1 guided mode item accepted").arg(_planTypeString());
_finishTransaction(true);
_finishTransaction(true, true /* apmGuidedItemWrite */);
} else {
_sendError(VehicleError, tr("Vehicle returned error: %1. %2Vehicle did not accept guided item.").arg(_missionResultToString((MAV_MISSION_RESULT)missionAck.type)));
_finishTransaction(false);
_finishTransaction(false, true /* apmGuidedItemWrite */);
}
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment