Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] get number of cars departed from a edge using traci

Hello,
there is currently no function to do this (there are plans to support this eventually via https://github.com/eclipse/sumo/issues/2139).
To emulate this functionality, you have to track all vehicles departure using traci.simulation.getDepartedIDList() and then store the vehicles which departed on the edge of interest.

regards,
Jakob

Am Mo., 30. Nov. 2020 um 02:56 Uhr schrieb Xun Liu <xliu8@xxxxxxxxxxxxx>:
Hello everyone,

could I use Traci command to get the number of cars which departed from a specific edge within a time period? 

Best,
Xun
_______________________________________________
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