[
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.
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
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.
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