Multi client SUMO scenario doesnt advance in time #122
Unanswered
CiscoFrisco
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi once again,
I recently implemented an ambassador in my MOSAIC scenario to communicate with a python server. This python server connects itself to SUMO via a Traci Client. So far, after running my scenario, SUMO connects both the TraciClient implemented by MOSAIC and the one in the python server and loads the scenario. However, when I try to start the simulation nothing happens.
I know from the SUMO documentation that in multi-client scenarios, for the simulation to advance all of the connected clients must advance their timestep. Since MOSAIC already does so for the Traci Client it implements, I tried to the same by having the ambassador tell the python server to advance the timestep. The python server then just needs to call a sumo method to do so. However, I do not know what type of interaction or method MOSAIC uses to handle the time advance of SUMO. Ideally, I would use such interaction in my ambassador and do the above when processing it.
Any idea on what to use to have the simulation advance its time?
Best regards,
Francisco Filipe
Beta Was this translation helpful? Give feedback.
All reactions