Browse Source

Merge pull request #7372 from DonLakeFlyer/StableMerge

Stable merge
QGC4.4
Don Gagne 6 years ago committed by GitHub
parent
commit
8b3f37668f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      ChangeLog.md
  2. 3
      src/AutoPilotPlugins/APM/APMAirframeComponent.cc
  3. 15
      src/MissionManager/MavCmdInfoCommon.json
  4. 4
      src/MissionManager/MissionController.cc
  5. 4
      src/Vehicle/Vehicle.cc
  6. 2
      src/ui/toolbar/GPSRTKIndicator.qml
  7. 4
      src/ui/toolbar/LinkIndicator.qml

1
ChangeLog.md

@ -13,6 +13,7 @@ Note: This file only contains high level features or important fixes. @@ -13,6 +13,7 @@ Note: This file only contains high level features or important fixes.
* Major rewrite and bug fix pass through Structure Scan. Previous version had such bad problems that it can no longer be supported. Plans with Structure Scan will need to be recreated. New QGC will not load old Structure Scan plans.
### 3.5.1 - Not yet released
* Fix visibility of PX4/ArduPilot logo in toolbar
* Fix tile set count but in OfflineMaps which would cause image and elevation tile set to have incorrect counts and be incorrectly marked as download incomplete.
### 3.5.0 - Stable

3
src/AutoPilotPlugins/APM/APMAirframeComponent.cc

@ -43,8 +43,7 @@ QString APMAirframeComponent::name(void) const @@ -43,8 +43,7 @@ QString APMAirframeComponent::name(void) const
QString APMAirframeComponent::description(void) const
{
return tr("Airframe Setup is used to select the airframe which matches your vehicle. "
"You can also the load default parameter values associated with known vehicle types.");
return tr("Airframe Setup is used to select the airframe which matches your vehicle.");
}
QString APMAirframeComponent::iconResource(void) const

15
src/MissionManager/MavCmdInfoCommon.json

@ -52,7 +52,7 @@ @@ -52,7 +52,7 @@
},
"param4": {
"label": "Heading",
"units": "radians",
"units": "deg",
"nanUnchanged": true,
"default": null,
"decimalPlaces": 2
@ -74,8 +74,9 @@ @@ -74,8 +74,9 @@
},
"param4": {
"label": "Heading",
"units": "radians",
"default": 0,
"units": "deg",
"nanUnchanged": true,
"default": null,
"decimalPlaces": 2
}
},
@ -100,7 +101,7 @@ @@ -100,7 +101,7 @@
},
"param4": {
"label": "Heading",
"units": "radians",
"units": "deg",
"nanUnchanged": true,
"default": null,
"decimalPlaces": 2
@ -128,7 +129,7 @@ @@ -128,7 +129,7 @@
},
"param4": {
"label": "Heading",
"units": "radians",
"units": "deg",
"nanUnchanged": true,
"default": null,
"decimalPlaces": 2
@ -158,7 +159,7 @@ @@ -158,7 +159,7 @@
},
"param4": {
"label": "Heading",
"units": "radians",
"units": "deg",
"nanUnchanged": true,
"default": null,
"decimalPlaces": 2
@ -180,7 +181,7 @@ @@ -180,7 +181,7 @@
},
"param4": {
"label": "Heading",
"units": "radians",
"units": "deg",
"nanUnchanged": true,
"default": null,
"decimalPlaces": 2

4
src/MissionManager/MissionController.cc

@ -451,7 +451,9 @@ int MissionController::insertComplexMissionItemFromKMLOrSHP(QString itemName, QS @@ -451,7 +451,9 @@ int MissionController::insertComplexMissionItemFromKMLOrSHP(QString itemName, QS
int MissionController::_insertComplexMissionItemWorker(ComplexMissionItem* complexItem, int i)
{
int sequenceNumber = _nextSequenceNumber();
bool surveyStyleItem = qobject_cast<SurveyComplexItem*>(complexItem) || qobject_cast<CorridorScanComplexItem*>(complexItem);
bool surveyStyleItem = qobject_cast<SurveyComplexItem*>(complexItem) ||
qobject_cast<CorridorScanComplexItem*>(complexItem) ||
qobject_cast<StructureScanComplexItem*>(complexItem);
if (surveyStyleItem) {
bool rollSupported = false;

4
src/Vehicle/Vehicle.cc

@ -1901,10 +1901,6 @@ void Vehicle::_linkInactiveOrDeleted(LinkInterface* link) @@ -1901,10 +1901,6 @@ void Vehicle::_linkInactiveOrDeleted(LinkInterface* link)
_links.removeOne(link);
if (_priorityLink.data() == link) {
_priorityLink.clear();
}
_updatePriorityLink(true /* updateActive */, true /* sendCommand */);
if (_links.count() == 0 && !_allLinksInactiveSent) {

2
src/ui/toolbar/GPSRTKIndicator.qml

@ -21,7 +21,7 @@ import QGroundControl.Palette 1.0 @@ -21,7 +21,7 @@ import QGroundControl.Palette 1.0
//-- GPS Indicator
Item {
id: satelitte
width: (gpsValuesColumn.x + gpsValuesColumn.width) * 1.1
width: visible ? (gpsValuesColumn.x + gpsValuesColumn.width) * 1.1 : 0
anchors.top: parent.top
anchors.bottom: parent.bottom
visible: QGroundControl.gpsRtk.connected.value

4
src/ui/toolbar/LinkIndicator.qml

@ -23,7 +23,8 @@ import QGroundControl.Vehicle 1.0 @@ -23,7 +23,8 @@ import QGroundControl.Vehicle 1.0
Item {
anchors.top: parent.top
anchors.bottom: parent.bottom
width: priorityLinkSelector.width
width: visible ? priorityLinkSelector.width : 0
visible: _visible
property var _activeVehicle: QGroundControl.multiVehicleManager.activeVehicle
property bool _visible: false
@ -34,7 +35,6 @@ Item { @@ -34,7 +35,6 @@ Item {
font.pointSize: ScreenTools.mediumFontPointSize
color: qgcPal.buttonText
anchors.verticalCenter: parent.verticalCenter
visible: _visible
Menu {
id: linkSelectionMenu
}

Loading…
Cancel
Save