Commit 5dabdd5d authored by DonLakeFlyer's avatar DonLakeFlyer

parent 40d5f1ff
......@@ -7,6 +7,7 @@ Note: This file only contains high level features or important fixes.
### 4.0.6 - Not yet released
* Analyze/Log Download - Fix download on mobile versions of QGC
* Fly: Fix problems where Continue Mission and Change Altitude were not available after a Mission Pause.
### 4.0.5 - Stable
......
......@@ -936,6 +936,11 @@ void APMFirmwarePlugin::guidedModeChangeAltitude(Vehicle* vehicle, double altitu
return;
}
if (abs(altitudeChange) < 0.01) {
// This prevents unecessary changes to Guided mode when the users selects pause and doesn't really touch the altitude slider
return;
}
setGuidedMode(vehicle, true);
mavlink_message_t msg;
......
......@@ -639,8 +639,7 @@ Item {
{
name: qsTr("Action"),
iconSource: "/res/action.svg",
buttonVisible: !_guidedController.showPause,
buttonEnabled: _anyActionAvailable,
buttonVisible: _anyActionAvailable,
action: -1
}
]
......
......@@ -203,7 +203,12 @@ Item {
}
_outputState()
}
// End of hack
onShowChangeAltChanged: {
if (_corePlugin.guidedActionsControllerLogging()) {
console.log("showChangeAlt", showChangeAlt)
}
_outputState()
}
on_VehicleFlyingChanged: {
_outputState()
......
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