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 <
[email protected]>:

> 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:*
> [image: 1.png]
>
>
> *What changes should I make in the code ?*
>
>
> Regards,
> Priyank Soni
> M. 8882242322
>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to