Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Problem with Sumo for visualization

Bonjour Julien,

please post the complete output.
Have you tried to call plot_trajectories.py without the -s option

Salutations,
Harald

Am 13.12.19 um 13:47 schrieb Julien Leplat:

Hello Mirko,

 

I tried to use what you said me before but it doesn’t work.

For example, when I use the plot_trajectories.py with:

python plot_trajectories.py fcd.xml -t td -o plot.png -s

and i have the message “SyntaxError: invalid syntax” .

 

Could we have more details to use the tools for visualization ?

 

Regards

Julien

De : sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx> De la part de Mirko Barthauer
Envoyé : vendredi 6 décembre 2019 19:07
À : sumo-user@xxxxxxxxxxx
Objet : Re: [sumo-user] Problem with Sumo for visualization

 

Hello Julien,

this message is given when the script is called without the path to the SUMO network file. You do this using the -n/--net switch: "-n path/to/your/net.net.xml". Have a look at the option list in the SUMO docs.

Regards
Mirko

Am 06.12.2019 um 16:43 schrieb Julien Leplat:

Hello,

 

We are French students and we use Sumo for a project.

We have a problem with the software. We want to make a visualization (like colored map or diagram) of a simulation in SUMO. We looked at the tuto ( https://sumo.dlr.de/docs/Tools/Visualization.html) and the FAQ on the website. We use SUMO version 1.3.1  .

 

We execute the program “plot_net_dump.py” for example with “spyder” which is a python software. But it doesn’t work and we have this error’s message :

Error: a network to load must be given.

An exception has occurred, use %tb to see the full traceback.

 

SystemExit: 1

 

Could you give me more details of how make visualization of simulation ?

 

Cordially

 

 



_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user



Back to the top