fixed GPS coords precision in telemetry simulator when loaded from CSV log
This commit is contained in:
@@ -912,7 +912,7 @@ QString TelemetrySimulator::LogPlaybackController::convertGPS(QString input)
|
|||||||
lon = convertDegMin(lonLat[0]);
|
lon = convertDegMin(lonLat[0]);
|
||||||
lat = convertDegMin(lonLat[1]);
|
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)
|
void TelemetrySimulator::LogPlaybackController::updatePositionLabel(int32_t percentage)
|
||||||
|
|||||||
Reference in New Issue
Block a user