fixed GPS coords precision in telemetry simulator when loaded from CSV log

This commit is contained in:
Raphael Coeffic
2018-07-08 21:00:37 -04:00
committed by Max Paperno
parent 1383afb36f
commit e916c6dc9a
+1 -1
View File
@@ -912,7 +912,7 @@ QString TelemetrySimulator::LogPlaybackController::convertGPS(QString input)
lon = convertDegMin(lonLat[0]);
lat = convertDegMin(lonLat[1]);
}
return QString::number(lat) + ", " + QString::number(lon);
return QString::number(lat, 'f', 6) + ", " + QString::number(lon, 'f', 6);
}
void TelemetrySimulator::LogPlaybackController::updatePositionLabel(int32_t percentage)