[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] Number of the pedestrians at the traffic lights
|
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 <nikolayzhmurov@xxxxxxxxx> 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 <namdre.sumo@xxxxxxxxx> 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.
regards,
Jakob
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
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user