Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] set actuated traffic light (delay_based) from python script

Hi All,

I am setting traffic program from python script, I want actuated traffic light which is delay based (type = 4 should be passed in traci.trafficlight.Logic, right ???)

I am passing type  = 4 ,but when I debug the program I found its getting converted into type = 1, so
my traffic lights always runs for fixed time. How to achieve delay_based actuated traffic light from python script.

Code::

1.png

Regards,
Priyank Soni
M. 8882242322


Back to the top