Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Get Stage Pedestrian

You can call traci.person.getVehicle. If the return value is empty, the person is still waiting for the vehicle to arrive.

Am Di., 7. Mai 2019 um 08:16 Uhr schrieb steniero <steniero@xxxxxxxxx>:
Thank you very much.
I am counting all the seconds in which the velocity of a pedestrian is 0, is there any way then to understand wheter a pedestrian is stopping because he is waiting at the stop or because he is onboard of a shuttle stuck in traffic?

Stefano

On Thu, May 2, 2019 at 2:34 PM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
Waiting at a stop is already part of the driving stage so you will see a '3'.
Stage type 4 only comes up when using an 'access' element to reach the stopping place
Persons should never be in stage type 5. This is only kept in the plan to allow rerouting.

Am Do., 2. Mai 2019 um 13:54 Uhr schrieb steniero <steniero@xxxxxxxxx>:
Hi,
I am using the function traci.person.getStage(personID) in order to monitor the number of people waiting at the stop.
What is the stage code that I obtain for them? 1 or 4? I don't understand what 4 and 5 stages mean, could you please clarify it?
Thank you
Stefano
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top