[sumo-user] Random generation of vehicles

2016-10-02 Thread N19 R
Hello, I want to generate the flow of vehicles randomly with "seed". I tried the expression above, but it doesn't give any result. sumo-gui --seed=10 -n simple.net.xml Can some one help me. Regards, -- Check out the vibra

[sumo-user] Reg: TraCI

2016-10-02 Thread AKASH DAS
Heyy all, I am using TraCI to stop a vehicle and when I am giving the following code :- while step < 120: traci.simulationStep() l0 = traci.vehicle.getPosition("veh1") l1 = traci.vehicle.getPosition("veh0") if abs((int)(l0[0]) - (int)(l1[0])) <= 5 and step > 10: print "l0 is :- ",int(l0[0]) print