Add position update on map based on event store

This commit is contained in:
David Eder
2021-06-12 00:16:05 +02:00
parent 99d7ac6a2d
commit fade4c3af3
6 changed files with 123 additions and 57 deletions
+1 -1
View File
@@ -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()}