Dear developers,
I am trying to connect multiple traci clients to sumo. Is this feature fully supported in the current release 1.1.0?
In a last step we want to combine the c++ traci client and another python client. We have tested both, 2 python clients, 2 c++ clients, and combinations. None of them are working in our setup so far.
We are using the following workflow, however are not able to control sumo simulation steps or access the subscription when using more than one client:
1. Set “num-clients 2” option in the config file (we also tried the command line option)
2. sumoCmd = ["sumo", "-c", cfg]
connection1 = traci.start(sumoCmd, port=8813)
traci.setOrder(1)
connection2 = traci. connect(port=8813, numRetries=10, host="localhost")
connection2.setOrder(2)
step = 0
while step < 1000:
traci.simulationStep()
step+=1
Is there anything else to do?
Mit freundlichen Grüßen
Dr.-Ing. Benedikt Schott
Senior Entwickler Simulationslösungen
☏ +49 89 74 7377-41
__________________________________________________________
TESIS GmbH ▪ Baierbrunner Str. 23 ▪ D-81379 München ▪ www.tesis.de
Geschäftsführung: Dr. Cornelius Chucholowski, Maximilian Chucholowski
Amtsgericht München, HRB 115649 ▪ USt-Id DE-185 446 804
__________________________________________________________