Hello, there is currently no automated way to give vehicles randomized acceleration capabilities. Whenever we need something like this we use a little script (i.e. python) to generate a different vType for every vehicle with random attributes selected by the random number generator of the scripting language. regards, Jakob
2014-08-27 3:40 GMT+02:00 Eduardo Boaventura <[email protected]>: > Hi guys, > > I have the following block in a program: > > <vType accel="0.2" decel="5.0" id="type1" length="2.0" > maxSpeed="33.0" sigma="0.0" /> > <vType accel="0.3" decel="5.0" id="type2" length="2.0" maxSpeed="33.0" > sigma="0.0" /> > > But I want accel=random. If I put literally accel="random" the program > break down. > > What should I do? > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
