Hi Aondoseer,
there is no way to enable red light running by modifying the traffic
light you need to modify the vehicles speed mode
http://sumo.dlr.de/wiki/TraCI/Change_Vehicle_State. But if you want all
vehicles to drive, why don't you simply switch to green ("G") then?

Regards,
Michael


Am 25.09.2015 um 14:09 schrieb atoo a.a. (aaa1n13):
> Hello,
> 
> 
> I have been trying to simulate red light running, and editing my traffic 
> light red phase to "R" so that the stream does not decelerate as they 
> approach the intersection (see line 129 of trafficlights.py), but this is 
> resulting in the error "No color defined for LinkState". This works fine if I 
> use 'r'.
> 
> How can i enable the use of "R" in place of "r"? I need the vehicle not to 
> decelerate. I am open to other alternatives to achieve this. Here is the 
> section of my net file
>    <tlLogic id="4" type="static" programID="0" offset="0">
>         <phase duration="30" state="GrrrGG"/>
>         <phase duration="1" state="rrYYGr"/>
>         <phase duration="10" state="rrGGGr"/>
>         <phase duration="1" state="YYGrrr"/>
>         <phase duration="30" state="GGGrrr"/>
>         <phase duration="1" state="GrrrYY"/>
> 
> 
> Thanks
> 
> Aondoseer
> ------------------------------------------------------------------------------
> _______________________________________________
> 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