Re: [sumo-user] Stop the pedestrian at a certain position while crossing

2017-10-19 Thread Jakob Erdmann
Hello, To make the person stop you can use traci.person.setSpeed(personID, 0) The value returned by traci.person.getLanePosition() returns the distance from the start of that lane in m. Since the crossing lane is orthogonal to the road lanes you should be able to stop in the middle of a road lane w

[sumo-user] Stop the pedestrian at a certain position while crossing

2017-10-19 Thread Sara el hamdani via sumo-user
Hello, I want that pedestrians would cross the road one lane at a time so that they would stop at the line (the red line in the figure) after passing a lane before they continue the corssing. I tried with traci.person.getLanePosition() but it doesn't seem to be what I need, and I am not sure the