Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Average Waiting Time within TraCI

Either:
- record the desired values continuously as long as the vehicle is still part of the simulation
- let the simulation write --tripinfo-output and parse this from within your traci script while it's being written (the file contents are flushed/updated after every simulation step)



Am Di., 24. Mai 2022 um 15:46 Uhr schrieb Nino Michniok <mixnox@xxxxxx>:
Hi everybody,

I just got started with SUMO and TraCI stuff. I need the waiting time of vehicles similar to what “--duration-log.statistics” does but I need the values within the running script.
So I tried to calculate the waiting time of vehicles that just arrived at their destination but this does not work because these vehicles instantly vanish. Has anybody an idea of how to do this?

Cheers!
Nino M
_______________________________________________
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