Search code examples
omnet++veinssumo

veins/sumo "hello world" example explanation


I have run the Veins/sumo "hello world" example successfully, now I am digging into its code so I can get some basics before writing my own scenario, the problem that I can't find where is the code responsible for creating the nodes (cars) and managing their mobility (initial position...)? thanks in advance.


Solution

  • The Veins default example use the SUMO flow to insert the cars in the scenario, as you can see here, where the cars follow the route0. Start on the edge "-39539626" and goes to the edge "-5445204#2" and going on. SUMO also can work with trips and route (manually created or by randomTrips.py) and stop point, read more here