Skip to main content

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

This is still not implemented (https://github.com/eclipse/sumo/issues/3477)
Patches are welcome as always.

2018-08-07 14:14 GMT+02:00 Lara CODECA <lara.codeca@xxxxxxxxxx>:
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/
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user


Back to the top