see http://sumo.dlr.de/wiki/Simulation/Traffic_Lights#Controlling_traffic_lights_via_TraCI
Am Do., 10. Jan. 2019 um 12:45 Uhr schrieb Hajar LAMGHARI < hajarlh.1...@gmail.com>: > 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, > > > <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> > Garanti > sans virus. www.avg.com > <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> > <#m_-8373374560238886580_m_7934994886985236438_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > _______________________________________________ > sumo-user mailing list > sumo-user@eclipse.org > 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 sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user