Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] traffic program set from python starts with phase "1" rather than "0"

There may be a bug there (possibly related to #5554). You should be able to make it work by calling traci.trafficLight.setPhase('1', 0) after loading the new program.

Am Mi., 23. Okt. 2019 um 14:57 Uhr schrieb priyank soni <priyanksonigeca7@xxxxxxxxx>:
Hi All,

I am setting traffic program with python script , I have total 12 phases, but it runs as:
1-2-3-4-5-6-7-8-9-10-11-0-1-2-...................

What I want is:
0-1-2-3-4-5-6-7-8-9-10-11-0-1-2-................

python code:
1.png


What changes should I make in the code ?


Regards,
Priyank Soni
M. 8882242322

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top