Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] how to get and change tls phase duration?

Hello,
I am using TraCI and I want to make Traffic light duration Dynamic. I found that to define new tlLogic with new durations and new states in real time, I have to use :
traci.trafficlights.getCompleteRedYellowGreenDefinition(tlsID) and,
traci.trafficlights.setCompleteRedYellowGreenDefinition(tlsID)
But it doesn't work for me!  I need just a tutorial to understand how to implement my dynamic solution using these functions (Such that I already saw the details in tools/ traci/ trafficlights.py). 
Than you in advance...

regards,

Garanti sans virus. www.avg.com

Back to the top