Hello StackEx community.
I am running a scenario in Veins 3.0
where I am using the commandDistanceRequest()
function to find out the distance between two nodes. I am getting values which, I suppose, is in the domain of the MiXiM
- OMNeT++
simulation play-field.
My questions here are:
What is the unit of this distance returned by commandDistanceRequest()
?
I know that OMNeT++
and SUMO
use different sets of coordinate spaces. Is it different for both of them or only the coordinate space differs here?
commandDistanceRequest()
is in m
(meters)Link: Two types of coordinate systems are currently in general use in geography: the geographical coordinate system and the rectangular (also called Cartesian) coordinate system.
y
axis is flipped and there is an offset.