Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] List of total pedestrian loaded in a SUMO simulation

There is no command for this at the moment. You will have to call person.getIDList in every step and accumulate the values in a set. Alternatively, you can use sumolib.xml.parse and read the values from the input file.

Am Di., 15. Sept. 2020 um 08:31 Uhr schrieb Proyash Podder <ppodd002@xxxxxxx>:
Hi!
I had a look on this. But the getIDList(t) actually provides me the IDs of currently active IDs of that simulation time, t. But I want something, that will provide me the all the IDs that were loaded until simulation time, t. ( Some of the pedestrians may leave the scenario which I will miss if I use the getIDList(t)). 

_______________________________________________
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