Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Keeping track of vehicles entering and exiting an edge

Hello

Is there an efficient way to keep track of vehicles entering and exiting an
edge. I'd like to keep track of the vehicle ID, when they enter an edge and
when they exit for the entire network.

My first thought is to use Traci to get edge.getLastStepVehicleIDs() for
consecutive time steps. Convert them to sets and take the difference
between them.

Thanks
Shekar
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sumo-user


Back to the top