Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Arrived vehicles unknown. How to request aggregated vehicle data in TraCI?


Hi, 

Subscription to arrived vehicles is a trigger to collect aggregated data from those vehicles at the end of their simulation life such as total distance travelled (getDistance), accumulated waiting time, and their number of stops. Pretty standard stuff for a traffic simulation. Alas, the vehicle id is no longer known upon arrival. 

What is the intended use of subscribing to arrived vehicles then, and how can i get aggregated vehicle data in their last time steps?

Thanks, Bart

Back to the top