ManiAm / VENTOS_Public

VEhicular NeTwork Open Simulator (VENTOS)
http://maniam.github.io/VENTOS/
GNU General Public License v3.0
57 stars 25 forks source link

Platoon vehicle size #24

Open bargisou opened 6 years ago

bargisou commented 6 years ago

In which xml file have tgey added the platoon size

ManiAm commented 6 years ago

I am not sure if I understand your question! You mean how can you change the timegap or how to change the platoon size?

bargisou commented 6 years ago

Not the time gap but how can you change the platoon size to be inserted in the Simulation?

ManiAm commented 6 years ago

Check the latest VENTOS manual and go to section 3.7 on page 72. There is an attribute called 'size' that controls the platoon size.

bargisou commented 6 years ago

But there is no such parameter as" size" in 4hello.rou.xml. Then how does the simulation end up showing 10 passenger vehicles?

bargisou commented 6 years ago

in simulation it is showing 10 vehicles , can i change it in to 15 vehicle ,by using size="15.0" in 4hello.rou.xml

ManiAm commented 6 years ago

because platoons are not added using hello.rou.xml file! platoons are added using addNode.xml file. Open the file in your example folder and you will see the line for adding platoons.