I'm new to veins.
After running veins_inet
example, it was set 3 as number of cars and two places: destination point and start point where creating new cars and making cars disappear. However, I didn't find where to set number of cars and start/destination point of cars in .ned, .ini or in .cc file. The same question is in RSUScenarioExample
.
I want to set accident time and number of cars instead of 3 cars in vein_inet
file and default start and destination place.
Would anybody please tell me how to set these parameters?
Asked
Active
Viewed 43 times
0
1 Answers
0
Number of vehicles as well as starting/destination positions can be set in the file /veins_inet/examples/veins_inet/square.rou.xml
- the format is defined in SUMO Documentation.
In short:
- number of cars can be set as value of
number
in<flow>
- starting position can be set as value of
departPos
in<flow>
- destination position can be set as value of
arrivalPos
in<flow>

Jerzy D.
- 6,707
- 2
- 16
- 22