getIDList should only include vehicles that are in the road network or that
are currently parked (<stop parking="true" .../>).
It should not included arrived or deleted vehicles.

regards,
Jakob

2016-10-16 12:38 GMT+02:00 Hui Xiong Ng <[email protected]>:

> I am trying to retrieve all the vehicles that are currently running in the
> network. That means, those that has departed, less those that has
> arrived(reached destination).
>
> It seems that *traci.vehicle.getIDList()* will return all vehicles that are
> loaded, which is not I wanted?
>
> I could implement a list to add on *traci.vehicle.getDepartedIDList()* and
> minus off *traci.vehicle.getArrivedIDList() *on every time step.
>
> I just want to make sure that it will achieve what I intended, which is
> retrieving *ONLY *the vehicles that are running in the network currently.
>
> Do *traci.vehicle.getArrivedIDList()* also include those that got removed
> due to other reasons(fail to depart, etc)?
> ------------------------------------------------------------
> ------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to