see http://sumo.dlr.de/wiki/Simulation/Traffic_Lights
regards,
Jakob

2015-08-20 16:08 GMT+02:00 Pardis Emami Naeini <
[email protected]>:

> Hi everyone,
>
> I have a problem in understanding the phases of traffic light and how it
> changes. Could any one please elaborate these two lines of code for me that
> how they work? And if I want to have a 5 seconds for yellow split and 20
> seconds for green split in the intersection how can I write it?
>
> f.write("<phase duration=\"27\" state=\"GGGGrrrrGGGGrrrr\"/>\n")
> f.write("<phase duration=\"3\" state=\"yyyyrrrryyyyrrrr\"/>\n")
>
> Thanks all in advance!
>
> ------------------------------------------------------------------------------
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to