Skip to main content

[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.

Am Fr., 19. Aug. 2022 um 10:29 Uhr schrieb m.barthauer@xxxxxxxxxxx <m.barthauer@xxxxxxxxxxx>:

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

On Fri, Aug 19, 2022 at 6:29 AM Chithra Saikrishna <chithrasai97@xxxxxxxxx> wrote:
Thank you.

On Thu, Aug 18, 2022, 11:59 PM Mirko Barthauer <m.barthauer@xxxxxxxxxxx> wrote:

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 list
sumo-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

Back to the top