Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] TraCI: how to get the list of departed and arrived entities (not only vehicles)

Dear All,

Is there a way to have the equivalent of
- http://www.sumo.dlr.de/daily/pydoc/traci._simulation.html#SimulationDomain-getDepartedIDList
- http://www.sumo.dlr.de/daily/pydoc/traci._simulation.html#SimulationDomain-getArrivedIDList
but for every entity, not only vehicles?

The only idea for people I had is to use traci.person.getIDList() at every step and see myself when
I have a new person and when the person disappears from the list.
But this kind of interaction with traci is very slow compared to getDepartedIDList and
getArrivedIDList.

Thanks in advance,
Lara 

-- 
Lara CODECA
Postdoc
Tel : 04.93.00.81.51

EURECOM
Campus SophiaTech
http://www.eurecom.fr/


Back to the top