diff --git a/qgcresources.qrc b/qgcresources.qrc
index 4e2602e..4abea6e 100644
--- a/qgcresources.qrc
+++ b/qgcresources.qrc
@@ -139,6 +139,7 @@
src/ui/toolbar/Images/Gears.svg
src/ui/toolbar/Images/Analyze.svg
src/ui/toolbar/Images/Gps.svg
+ src/ui/toolbar/Images/RTK.svg
src/ui/toolbar/Images/Hamburger.svg
src/ui/toolbar/Images/Megaphone.svg
src/ui/toolbar/Images/PaperPlane.svg
diff --git a/src/QmlControls/QGroundControlQmlGlobal.cc b/src/QmlControls/QGroundControlQmlGlobal.cc
index 3fea67b..b487599 100644
--- a/src/QmlControls/QGroundControlQmlGlobal.cc
+++ b/src/QmlControls/QGroundControlQmlGlobal.cc
@@ -252,7 +252,7 @@ void QGroundControlQmlGlobal::_onGPSDisconnect()
void QGroundControlQmlGlobal::_GPSSurveyInStatus(float duration, float accuracyMM, bool valid, bool active)
{
_gpsRtkFactGroup.currentDuration()->setRawValue(duration);
- _gpsRtkFactGroup.currentAccuracy()->setRawValue(accuracyMM);
+ _gpsRtkFactGroup.currentAccuracy()->setRawValue(accuracyMM/1000.0);
_gpsRtkFactGroup.valid()->setRawValue(valid);
_gpsRtkFactGroup.active()->setRawValue(active);
}
diff --git a/src/Vehicle/GPSRTKFact.json b/src/Vehicle/GPSRTKFact.json
index 3067813..12b2670 100644
--- a/src/Vehicle/GPSRTKFact.json
+++ b/src/Vehicle/GPSRTKFact.json
@@ -8,8 +8,8 @@
"name": "currentAccuracy",
"shortDescription": "Current Accuracy",
"type": "double",
- "decimalPlaces": 0,
- "units": "mm"
+ "decimalPlaces": 1,
+ "units": "m"
},
{
"name": "currentDuration",
diff --git a/src/ui/toolbar/GPSRTKIndicator.qml b/src/ui/toolbar/GPSRTKIndicator.qml
index 5f8dfc7..faf5f82 100644
--- a/src/ui/toolbar/GPSRTKIndicator.qml
+++ b/src/ui/toolbar/GPSRTKIndicator.qml
@@ -71,7 +71,7 @@ Item {
text: QGroundControl.gpsRtk.valid.value ? qsTr("Accuracy:") : qsTr("Current Accuracy:")
}
QGCLabel {
- text: (QGroundControl.gpsRtk.currentAccuracy.value/1000).toFixed(1) + ' m'
+ text: QGroundControl.gpsRtk.currentAccuracy.valueString + " " + QGroundControl.appSettingsDistanceUnitsString
}
QGCLabel { text: qsTr("Satellites:") }
QGCLabel { text: QGroundControl.gpsRtk.numSatellites.value }
@@ -91,7 +91,7 @@ Item {
width: height
anchors.top: parent.top
anchors.bottom: parent.bottom
- source: "/qmlimages/Gps.svg"
+ source: "/qmlimages/RTK.svg"
fillMode: Image.PreserveAspectFit
sourceSize.height: height
opacity: 1
@@ -109,12 +109,6 @@ Item {
color: qgcPal.buttonText
text: QGroundControl.gpsRtk.numSatellites.value
}
-
- QGCLabel {
- id: numSatValue
- color: qgcPal.buttonText
- text: qsTr("RTK")
- }
}
MouseArea {
diff --git a/src/ui/toolbar/Images/RTK.svg b/src/ui/toolbar/Images/RTK.svg
new file mode 100644
index 0000000..7cd8896
--- /dev/null
+++ b/src/ui/toolbar/Images/RTK.svg
@@ -0,0 +1,80 @@
+
+
+