How do I place road locations made with SUMO?

69 views
Skip to first unread message

Minwoo Kim

unread,
Mar 27, 2021, 11:38:49 PM3/27/21
to OMNeT++ Users
Instead of using OSM, I used SUMO to create a straight road with four lanes one way. The simulation environment I want is to use IEEE 802.11p and LTE at the same time. So, Veins and SimuLTE framework are used together, and VeinsInetMobility is used instead of TraCI.

When running the actual simulation, it is located in the blue box as shown below. I want to move it to the red box position.

XDMFr.png

Do I need to edit omnetpp.ini to move it to the red position? I don't know how to write the code to get the position moved.

So I asked Stackoverflow and found out that the coordinate system is different. But I still don't know how to move the road coordinates.

Please help..

Yasir Saleem

unread,
Jun 25, 2021, 3:15:07 PM6/25/21
to OMNeT++ Users
Dear Minwoo Kim,

Yes, this is an issue because of coordinates. 

While making a network in SUMO (netedit tool), create an empty junction (as mentioned in the provided screenshot in blue circle). By doing this, your cars will move downwards. Then you have to set the coordinates based on your OMNeT++ coordinates of RSUs.

I hope it will help you. Do let me know if the problem is still there. 

Best Regards, 
Yasir

Screen Shot 2021-06-25 at 9.05.14 PM.png
Reply all
Reply to author
Forward
0 new messages