Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] How to use the traci or method to turn the control to traffic light off

traci.trafficlight.setProgram(programID, "off").
The junction is then treated like a priority junction with priority/yield signs (note, that stop signs at switched-off traffic lights are not supported at the moment). However, you can get a similar effect by setting a low "visibilityDistance" value for the yielding connections which forces them to slow down to a stop.

Am Do., 11. Juli 2019 um 23:57 Uhr schrieb Jane Cheung <cheung180515@xxxxxxxxx>:
Dear all,


Is there some method That Could be used to turn the traffic lights off in the simulation? The junction without the traffic lights would be regarded as the interaction with a STOP sign. 

Best regards!

Jane
_______________________________________________
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