Commit a50f2786 authored by Valentin Platzgummer's avatar Valentin Platzgummer

WimaMenu edited, upload progress bar added, guided action for override upload added.

parent 404c65ce
......@@ -72,7 +72,7 @@ Item {
readonly property string mvPauseMessage: qsTr("Pause all vehicles at their current position.")
readonly property string vtolTransitionFwdMessage: qsTr("Transition VTOL to fixed wing flight.")
readonly property string vtolTransitionMRMessage: qsTr("Transition VTOL to multi-rotor flight.")
readonly property string overrideUploadMessage: qsTr("Vehicle is not inside service area. Override upload lock?")
readonly property string overrideUploadMessage: qsTr("Vehicle is not inside service area. Upload nevertheless?")
readonly property int actionRTL: 1
readonly property int actionLand: 2
......
......@@ -185,8 +185,8 @@ void WimaController::resetPhase()
bool WimaController::uploadToVehicle()
{
if (!_serviceArea.containsCoordinate(_masterController->managerVehicle()->coordinate())) {
qgcApp()->showMessage(tr("Vehicle is not inside service area."));
if ( !_serviceArea.containsCoordinate(_masterController->managerVehicle()->coordinate())
&& _currentMissionItems.count() > 0) {
setUploadOverrideRequired(true);
return false;
}
......
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