You would normally have to figure out the ids of walkingarea-edges and
query those.
However, there is also the shortcut method
traci.trafficlight.getServedPersonCount

Am Mi., 29. Apr. 2020 um 13:23 Uhr schrieb Nikolay Zhmurov <
[email protected]>:

> Hi,
>
>
> *traci.edge.getLastStepPersonIDs* method works great for the edges, but
> it cannot compute number/IDs of pedestrians at the junction/traffic lights.
> Any other ideas?
>
> Best regards
>
> Nikolay Zhmurov
> On Wednesday, April 29, 2020, 1:22:26 PM GMT+3, Nikolay Zhmurov <
> [email protected]> wrote:
>
>
>
> Hi Jakob,
>
> Yes, there can be multiple pedestrians on the same lane. I'll check
> *traci.edge.getLastStepPersonIDs* method
>
> Best regards
>
> Nikolay Zhmurov
> On Wednesday, April 29, 2020, 12:24:14 AM GMT+3, Jakob Erdmann <
> [email protected]> wrote:
>
>
> Hello,
> for pedestrians it's a bit more complicated because you need to check for
> their intended pedestrian crossing in case there is more than one at their
> walkingarea.
> You can find an example at
> https://sumo.dlr.de/docs/Tutorials/TraCIPedCrossing.html
>
> regards,
> Jakob
>
> Am Di., 28. Apr. 2020 um 20:55 Uhr schrieb Nikolay Zhmurov <
> [email protected]>:
>
> Hi,
>
> I try to get number of the vehicles and pedestrians at the traffic lights.
> To obtain the number of the vehicles I used lane area detector along with
> traci.lanearea.getLastStepVehicleNumber method. As far as I noticed, there
> is no such a method for the pedestrians. Is there any way to obtain the
> number of the pedestrians at the traffic lights?
>
> Best regards
>
> Nikolay Zhmurov
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to