Browse Source

Warn about glide slope altitudes

QGC4.4
DonLakeFlyer 6 years ago
parent
commit
65b26bea6b
  1. 10
      src/PlanView/FWLandingPatternEditor.qml
  2. 10
      src/PlanView/FWLandingPatternMapVisual.qml

10
src/PlanView/FWLandingPatternEditor.qml

@ -208,6 +208,16 @@ Rectangle { @@ -208,6 +208,16 @@ Rectangle {
property Fact _stopTakingVideo: missionItem.stopTakingVideo
}
}
QGCLabel {
anchors.left: parent.left
anchors.right: parent.right
wrapMode: Text.WordWrap
color: qgcPal.warningText
font.pointSize: ScreenTools.smallFontPointSize
horizontalAlignment: Text.AlignHCenter
text: qsTr("* Glide slope altitudes are approximate. Actual flight path will vary due to environmental conditions and vehicle settings.")
}
}
Column {

10
src/PlanView/FWLandingPatternMapVisual.qml

@ -455,8 +455,8 @@ Item { @@ -455,8 +455,8 @@ Item {
visible: _missionItem.isCurrentItem
sourceItem: HeightIndicator {
heightText: QGroundControl.metersToAppSettingsDistanceUnits(_transitionAltitudeMeters).toFixed(1) + " " +
QGroundControl.appSettingsDistanceUnitsString
heightText: Math.floor(QGroundControl.metersToAppSettingsDistanceUnits(_transitionAltitudeMeters)) +
QGroundControl.appSettingsDistanceUnitsString + "<sup>*</sup>"
}
function recalc() {
@ -486,8 +486,8 @@ Item { @@ -486,8 +486,8 @@ Item {
visible: _missionItem.isCurrentItem
sourceItem: HeightIndicator {
heightText: QGroundControl.metersToAppSettingsDistanceUnits(_midSlopeAltitudeMeters).toFixed(1) + " " +
QGroundControl.appSettingsDistanceUnitsString
heightText: Math.floor(QGroundControl.metersToAppSettingsDistanceUnits(_midSlopeAltitudeMeters)) +
QGroundControl.appSettingsDistanceUnitsString + "<sup>*</sup>"
}
function recalc() {
@ -520,7 +520,7 @@ Item { @@ -520,7 +520,7 @@ Item {
coordinate: _missionItem.loiterTangentCoordinate
sourceItem: HeightIndicator {
heightText: _missionItem.loiterAltitude.value.toFixed(1) + " " + QGroundControl.appSettingsDistanceUnitsString
heightText: _missionItem.loiterAltitude.value.toFixed(1) + QGroundControl.appSettingsDistanceUnitsString
}
}
}

Loading…
Cancel
Save