Add position update on map based on event store
This commit is contained in:
@@ -52,7 +52,7 @@ class Orchestrator:
|
||||
self.vins.append(car['vin'])
|
||||
|
||||
for traffic_light in traffic_lights['cursor']:
|
||||
self.tls[traffic_light['id']] = {'color': traffic_light['initialColor'],
|
||||
self.tls[traffic_light['id']] = {'color': traffic_light['color'],
|
||||
'switching_time': traffic_light['switchingTime'],
|
||||
'last_switch': datetime.now()}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user