Hello,

 

I am wondering if there is any way to get the total number of vehicles who
are waiting to enter simulation network?

 

I knew traci.simulation.getLoadedNumber tells how many vehicles will enter
the network, but this number include both waiting and not waiting vehicles.
The vehicle which is not waiting means the current simulation time step is
earlier than its departure time. 

 

The only way I can think of is to check every vehicles' departure time
against the IDs of vehicles in the network for each time step.

 

Kind Regards,

Rui

------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to