From 46c8ae235e4020b69bcaf5d283437df88be17cbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Wed, 21 Jun 2017 08:39:39 +0200 Subject: [PATCH] GPSRTKIndicator: show final accuracy after survey-in --- src/ui/toolbar/GPSRTKIndicator.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ui/toolbar/GPSRTKIndicator.qml b/src/ui/toolbar/GPSRTKIndicator.qml index 6aeaaa7fc..5f8dfc765 100644 --- a/src/ui/toolbar/GPSRTKIndicator.qml +++ b/src/ui/toolbar/GPSRTKIndicator.qml @@ -67,12 +67,11 @@ Item { visible: QGroundControl.gpsRtk.active.value } QGCLabel { - text: qsTr("Current Accuracy:") - visible: QGroundControl.gpsRtk.active.value + // during survey-in show the current accuracy, after that show the final accuracy + text: QGroundControl.gpsRtk.valid.value ? qsTr("Accuracy:") : qsTr("Current Accuracy:") } QGCLabel { text: (QGroundControl.gpsRtk.currentAccuracy.value/1000).toFixed(1) + ' m' - visible: QGroundControl.gpsRtk.active.value } QGCLabel { text: qsTr("Satellites:") } QGCLabel { text: QGroundControl.gpsRtk.numSatellites.value } -- 2.22.0