How do I run sumo-gui on instant-veins-4.7.1-i1.ova

208 views
Skip to first unread message

maryamb...@gmail.com

unread,
Dec 10, 2018, 9:28:08 AM12/10/18
to OMNeT++ Users

I downloaded instant veins 4.7.1-i1 (a virtual appliance for running Veins) from the link below:

https://veins.car2x.org/download/instant-veins-4.7.1-i1.ova

But in my simulation, I need to run the sumo-gui, while the connection (sumo-launchd.py) in the virtualBox only runs the sumo. I tried to modify that a bit, but i can't.

Can you help me??

Brian McCarthy

unread,
Dec 11, 2018, 4:38:19 AM12/11/18
to omn...@googlegroups.com
Hi,

The sumo-launchd.py script should have the ability to take an argument -c sumo-gui when you run it. This will launch sumo-gui when a simulation calls on it.

I would revert any changes you made to sumo-launchd.py 

When you want to run an experiment with sumo-gui in the VM then run through the following:
  1. Launch Terminator
  2. cd to the veins directory should be src/veins directory
  3. Run the following command
python2 sumo-launchd.py -c sumo-gui -vvv
(-vvv is optional it just means that logging will come up when sumo-launchd gets up and running, I prefer to see some logging just to know it's definitely running correctly.)
 
You then should be good to go to run your simulations as normal in OMNet++. (I did this in the SimuLTE version of the VM, but I see no reason why it would be different in your one.

Regards,
Brian
Reply all
Reply to author
Forward
0 new messages