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. ...@@ -7,6 +7,7 @@ Note: This file only contains high level features or important fixes.
### 4.0.6 - Not yet released ### 4.0.6 - Not yet released
* Analyze/Log Download - Fix download on mobile versions of QGC * 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 ### 4.0.5 - Stable
......
...@@ -936,6 +936,11 @@ void APMFirmwarePlugin::guidedModeChangeAltitude(Vehicle* vehicle, double altitu ...@@ -936,6 +936,11 @@ void APMFirmwarePlugin::guidedModeChangeAltitude(Vehicle* vehicle, double altitu
return; 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); setGuidedMode(vehicle, true);
mavlink_message_t msg; mavlink_message_t msg;
......
...@@ -639,8 +639,7 @@ Item { ...@@ -639,8 +639,7 @@ Item {
{ {
name: qsTr("Action"), name: qsTr("Action"),
iconSource: "/res/action.svg", iconSource: "/res/action.svg",
buttonVisible: !_guidedController.showPause, buttonVisible: _anyActionAvailable,
buttonEnabled: _anyActionAvailable,
action: -1 action: -1
} }
] ]
......
...@@ -203,7 +203,12 @@ Item { ...@@ -203,7 +203,12 @@ Item {
} }
_outputState() _outputState()
} }
// End of hack onShowChangeAltChanged: {
if (_corePlugin.guidedActionsControllerLogging()) {
console.log("showChangeAlt", showChangeAlt)
}
_outputState()
}
on_VehicleFlyingChanged: { on_VehicleFlyingChanged: {
_outputState() _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