update doc
This commit is contained in:
parent
fd77446af7
commit
b248c41963
@ -57,6 +57,11 @@ class Orchestrator:
|
|||||||
'last_switch': datetime.now()}
|
'last_switch': datetime.now()}
|
||||||
|
|
||||||
def setup_msg_queues(self):
|
def setup_msg_queues(self):
|
||||||
|
"""
|
||||||
|
Setup the message queues for communicating with vehicles and traffic lights.
|
||||||
|
A receiving and a sending queue for vehicles.
|
||||||
|
A receiving queue for traffic lights.
|
||||||
|
"""
|
||||||
# spawn the vehicle related message broker channels
|
# spawn the vehicle related message broker channels
|
||||||
for vin in self.vins:
|
for vin in self.vins:
|
||||||
daf_channel = MBWrapper(exchange_name='vehicle_daf_{}'.format(vin), callback=self.handle_daf_receive)
|
daf_channel = MBWrapper(exchange_name='vehicle_daf_{}'.format(vin), callback=self.handle_daf_receive)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user