This commit is contained in:
Timur A. Fatkhullin
2026-02-06 00:09:15 +03:00
parent 6352865610
commit 97b908838c
5 changed files with 269 additions and 46 deletions

View File

@@ -280,15 +280,15 @@ public:
}
// latitude and longitude
template <mcc_angle_c LAT_T, mcc_angle_c LON_T>
void geoPosition(std::pair<LAT_T, LON_T>* coords) const
// longitude and latitude
template <mcc_angle_c LON_T, mcc_angle_c LAT_T>
void geoPosition(std::pair<LON_T, LAT_T>* coords) const
{
std::lock_guard lock{*_stateMutex};
if (coords) {
coords->first = _currentState.lat;
coords->second = _currentState.lon;
coords->first = _currentState.lon;
coords->second = _currentState.lat;
}
}