[
Date Prev ][
Date Next ][
Thread Prev ][
Thread Next ][
Date Index ][
Thread Index ]
[
List Home ]
Re: [sumo-user] Vehicle trajectory plotting
If you only have a few vehicles to plot, using option --legend is also feasible.
The vehicle ID is printed to the console (the command line window to start the script from), not inside the plot window. For example on Windows:
run a cmd instance
start the script from there
click on a line in the plot
you should be able to see a line with vehicle ID and plot coordinates printed in the cmd
Best regards
Mirko
-----Original-Nachricht-----
Betreff: Re: [sumo-user] Vehicle trajectory plotting
Datum: 2022-08-19T08:34:12+0200
Von: "Chithra Saikrishna" <chithrasai97@xxxxxxxxx >
An: "Sumo project User discussions" <sumo-user@xxxxxxxxxxx >
Hi,
I have obtained trajectory plot using the command:
plot_trajectories.py fcd_output.xml -t td -o plot.png -s --filter-route J1L1
But vehicle names are not displayed on the interactive console for identifying the vehicle types. How can this be resolved?
Regards,
Chithra
Thank you.
Hi,
for example use FCD device to generate the trajectory data. It can be restricted locally and attached to a subset of your vehicles, either a fraction or specific ones (read the docs carefully). Pass the FCD data to plotXMLAttributes script to generate the plot. There you can also generate separate plots for subsets of vehicles.
Best regards Mirko
Am 18.08.2022 um 19:18 schrieb Chithra Saikrishna:
Hello all,
Is it possible to directly plot trajectories of selected vehicles passing through selected edges of the network ?
Thanks in advance.
Regards
Chithra
_______________________________________________ sumo-user mailing list sumo-user@xxxxxxxxxxx To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________ sumo-user mailing listsumo-user@xxxxxxxxxxx To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user