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.
Asked
Active
Viewed 331 times
1 Answers
0
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

João Batista
- 128
- 8
-
I already saw that file (erlangen.rou.xml) but there is only vtype:
there is no explicitly defined vehicle with explicitly defined departure point just like -
SUMO flow don't use departure tag, use begin, [read the documentation](http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Repeated_vehicles_.28Flows.29). – João Batista Sep 24 '16 at 14:31