Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Plot velocity graph of SUMO vehicles

Hi Mohsin,
you can either filter the fcd output by setting the appropriate sumo options (https://sumo.dlr.de/docs/Simulation/Output/FCDOutput.html#filtering_restricting_output)
or you can update your version of plot_trajectories.py to the latest development version and use option --filter-ids (wait until tomorrow to download from https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version)

regards,
Jakob

Am Mi., 6. Mai 2020 um 08:29 Uhr schrieb Mohsin Memon <mohsin.ldce@xxxxxxxxx>:
Hi Jakob,

My fcd output contains the speed of all the vehicles in the network.

Using the script :""python plot_trajectories.py fcd.xml -t ts -o plot.png
-s""  to plot speed, it plots the speed of all the vehicles in the network.
Is there any option to filter vehicle ID as I just want to plot the velocity
of my ego vehicle.

I would be very much grateful if you please reply me as soon as possible.

I am eagerly waiting for your response.

Thanks in advance.

Regards,
Mohsin



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top