You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The geo-co-ordinates provided by SUMo are in (Longitude,Latitude) format, however GeoPosition as defined in artery/utility/Geometry.h is in format (latitude,longitude). This means that when the GeoPosition is created as in the function VehicleController::getGeoPosition() (artery/traci/VehicleController.cc: line 38) the longitude is saved as latitude and latitude as longitude
The text was updated successfully, but these errors were encountered:
Oops, this is a really unfortunate mistake probably introduced during some code refactoring. I have changed the relevant code fragment to refer to GeoPosition's attributes explicitly by name so this bug is unlikely to be reintroduced. Fixed by 82afb97.
The geo-co-ordinates provided by SUMo are in (Longitude,Latitude) format, however GeoPosition as defined in artery/utility/Geometry.h is in format (latitude,longitude). This means that when the GeoPosition is created as in the function VehicleController::getGeoPosition() (artery/traci/VehicleController.cc: line 38) the longitude is saved as latitude and latitude as longitude
The text was updated successfully, but these errors were encountered: