0

I am trying to obtain an exact distance between vehicles in the Omnett++ Vehicle Project so I can make a graph but I failed at finding the distance.

Is there anywhere I can find/modify the distance between vehicles? or somewhere I can get the changes in the distance between them?

Thank you in advance.

1 Answers1

1

Veins 5 represents all vehicles on the simulation canvas, using their x/y position on a 2d map as the coordinates of where to draw the icon. See the OMNeT ++ documentation on getdisplaystring for how to obtain a module’s graphical representation in a way that is independent of how Veins works.

Christoph Sommer
  • 6,893
  • 1
  • 17
  • 35