do either one of the things below:
- issue the stop command earlier in time
- place the stop further forward
- set a higher deceleration value for the vehicle
2016-10-02 23:33 GMT+02:00 AKASH DAS :
> Heyy all,
>
> I am using TraCI to stop a vehicle and when I am giving the following code
> :-
> w
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
see http://sumo.dlr.de/wiki/Tutorials#TraCI_Tutorials
2016-09-18 11:55 GMT+02:00 AKASH DAS :
> Can you please give me an example template how to use traCI commands while
> using SUMO as I am not getting any output in the way I tried.
>
-
Can you please give me an example template how to use traCI commands while
using SUMO as I am not getting any output in the way I tried.
--
___
sumo-user mailing list
sumo-user@li