pedestrian jaywalking
I have a pedestrian who needs to go through the intersection, and the OD is shown below.
I am now simulating his jaywalking behavior using the movetoXY function, and successfully made him walk into the crosswalk when the light was red
However, surprisingly, after the control of movetoXY ended, the pedestrian turned around and chose a longer route to reach the destination.
I've tried changing the parameters in the movetoXY method, just like "keeproute", but it doesn't seem to work.
I would like to know how to solve this issue, thank you very much **SUMO-version:1.18.0
operating system:
Theoretically, he should continue to go forward, but he turned around. I don't know what caused this problem
https://github.com/user-attachments/assets/29391c00-c2a1-4794-96bd-53e37f5f073a
Yes, that's something we may look into in the future. In the meantime you can still move the pedestrian across the whole crossing using moveToXY commands. When the person reaches the other side, it should continue normally to its destination.
Yes, thanks for your advice. I tried to move the person to the other side, it can work well.