eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.48k stars 1.4k forks source link

traci delay control #5430

Open behrisch opened 5 years ago

behrisch commented 5 years ago

Allow to set the GUI delay via traci. The use case is a co-simulation framework with a central timing engine which may run arbitrarily fast or slow. To have the GUI at least somehow in synch also between the synchronization point the delay needs to be adapted.

jmlouw commented 3 months ago

Hi! Is there perhaps any progress on this issue?

namdre commented 3 months ago

No but in most cases you can easily control the gui delay by adding a sleep before traci.simulationStep

jmlouw commented 1 month ago

Thanks for the feedback. I'm currently using sleep to slow down multiple simulations that are synchronised. It is however not as smooth as using the --delay argument in SUMO. So where I can I opt to rather use SUMO itself to slow down the simulation - just because to my eye it looks visually smoother.