The quickest way I have found is to open two GUI (in two different terminals 
Linux) and adjust the size of the two screens side by side. Then I start the 
first simulation and I stopped it after about twenty seconds. Then I start the 
other simulation and I restart the first one with the mouse after twenty 
seconds. It's not the most elegant way, but it allows me to compare two 
scenarios quickly.

Thanks for the suggestions that help me to find this method. 


François 
________________________________________
De : François Vaudrin [[email protected]]
Envoyé : 22 juillet 2015 13:59
Cc : [email protected]
Objet : Re: [sumo-user] Running two different simulations at the same time (2 
views)

Danke Michael,

I understand that it is not feasible using the right icon (next to Delay (ms)). 
A master Python script seems a good idea. Didac also suggests to do it with a 
command line in a terminal.

Thank you both

Regards

François
________________________________________
De : Michael Behrisch <[email protected]>
Envoyé : 22 juillet 2015 07:50
À : François Vaudrin
Cc : [email protected]
Objet : Re: [sumo-user] Running two different simulations at the same time (2 
views)

Hi François,

Am 2015-07-22 07:11, schrieb François Vaudrin:
> I have two different simulations I 'd like to look in parallel at the
> same time . There is an icon that opens a new view in the menu but how
> can I run two different simulations simultaneously with two runner.py
> scripts and see them on the screen side to side ?

Since you mention runner.py, I suppose you use TraCI, so you can simply
start two sumo guis and synchronize them via TraCI. The easiest way is
probably to convert your existing runners into modules which get called
by some master script where the master always decides when to execute
the next sumo step.

Regards,
Michael


------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to