File "/usr/local/Cellar/sumo/1.3.1/share/sumo/EVPS/simulation/road_traffic_control.py", line 18, in init
for tl_id in self.traci_conn.trafficlights.getIDList()}
AttributeError: 'Connection' object has no attribute 'trafficlights'
Hey,
sorry for late response.
You are probably using different version of Traci library.
On this link you can check the library documentation to find out what has changed regarding trafficlights API (my first thought is that you shoud try with self.traci_conn.trafficlight.getIDList() source: link)
Hi!
Try to run your demo, but:
File "/usr/local/Cellar/sumo/1.3.1/share/sumo/EVPS/simulation/road_traffic_control.py", line 18, in init for tl_id in self.traci_conn.trafficlights.getIDList()} AttributeError: 'Connection' object has no attribute 'trafficlights'