Commit 46c8ae23 authored by Beat Küng's avatar Beat Küng

GPSRTKIndicator: show final accuracy after survey-in

parent 69d042e4
...@@ -67,12 +67,11 @@ Item { ...@@ -67,12 +67,11 @@ Item {
visible: QGroundControl.gpsRtk.active.value visible: QGroundControl.gpsRtk.active.value
} }
QGCLabel { QGCLabel {
text: qsTr("Current Accuracy:") // during survey-in show the current accuracy, after that show the final accuracy
visible: QGroundControl.gpsRtk.active.value text: QGroundControl.gpsRtk.valid.value ? qsTr("Accuracy:") : qsTr("Current Accuracy:")
} }
QGCLabel { QGCLabel {
text: (QGroundControl.gpsRtk.currentAccuracy.value/1000).toFixed(1) + ' m' text: (QGroundControl.gpsRtk.currentAccuracy.value/1000).toFixed(1) + ' m'
visible: QGroundControl.gpsRtk.active.value
} }
QGCLabel { text: qsTr("Satellites:") } QGCLabel { text: qsTr("Satellites:") }
QGCLabel { text: QGroundControl.gpsRtk.numSatellites.value } QGCLabel { text: QGroundControl.gpsRtk.numSatellites.value }
......
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