need to collision of pedestrian and vehicle
Dear SUMO Team,
I am currently using SUMO to simulate scenarios for generating artifact data to support collision prediction between vehicles and pedestrians, particularly in crosswalk zones. I have encountered a couple of issues during the simulation setup and would appreciate your guidance:
Vehicle Behavior at Crosswalks: I have successfully configured vehicles to ignore traffic lights using appropriate parameters. However, these vehicles still stop when a pedestrian is crossing at a crosswalk. For my use case, I need vehicles to ignore both traffic lights and pedestrian presence at crosswalks, allowing collisions to occur for simulation purposes. Could you please advise how to configure vehicles to disregard pedestrian crossings entirely?
Pedestrian Path and Traffic Light Compliance: I have defined a pedestrian route (e.g., from edge A0 to C0) that involves crossing an intersection at B0. When the pedestrian signal is green, pedestrians follow the defined path correctly. However, when the pedestrian signal is red, they attempt to circumvent the intersection by crossing to the opposite side and then returning to their original path. For my scenario, I need pedestrians to strictly follow the defined route from A0 to C0 regardless of the pedestrian traffic light state at B0—effectively ignoring the red signal. Could you suggest how this behavior can be enforced?
I have attached the image, where the blue line is defined path for pedestrian, while the red line that pedestrians are using when the pedestrian traffic light is red at B0.
I have also uploaded my source code as zip. Thank you for your support, and I look forward to your recommendations.
Vehicle Behavior at Crosswalks: I have successfully configured vehicles to ignore traffic lights using appropriate parameters. However, these vehicles still stop when a pedestrian is crossing at a crosswalk. For my use case, I need vehicles to ignore both traffic lights and pedestrian presence at crosswalks, allowing collisions to occur for simulation purposes. Could you please advise how to configure vehicles to disregard pedestrian crossings entirely?
set vType attribute jmIgnoreJunctionFoeProb="1".
Pedestrian Path and Traffic Light Compliance: I have defined a pedestrian route (e.g., from edge A0 to C0) that involves crossing an intersection at B0. When the pedestrian signal is green, pedestrians follow the defined path correctly. However, when the pedestrian signal is red, they attempt to circumvent the intersection by crossing to the opposite side and then returning to their original path. For my scenario, I need pedestrians to strictly follow the defined route from A0 to C0 regardless of the pedestrian traffic light state at B0—effectively ignoring the red signal. Could you suggest how this behavior can be enforced?
this is a bug: https://github.com/eclipse-sumo/sumo/issues/16788 which needs to be fixed on our end
Issue #16788 is now resolved