Vehicles, bikes, and pedestrians collide at intersection during simulation
Hello SUMO team,
We’re encountering a collision issue in our SUMO simulation using a custom map. At one specific intersection, vehicles, bicycles, and pedestrians are colliding during the simulation. This appears to happen even when the traffic light logic is active. As you can see from the following figure, the yellow vehicle collides with the pedestrian represented by the blue dots and the bikes represented by the yellow triangle.
To reproduce the behavior, you just need to load the attached SUMO configuration file. Mcity_safetest_complete_carla.zip
Expected: Vehicles, bikes, and pedestrians should yield or wait as expected and avoid collisions, based on the traffic light logic and right-of-way rules.
Actual Behavior: All three types of road users (vehicles, bikes, and pedestrians) proceed through the intersection simultaneously and collide, suggesting that the priority or right-of-way is not properly enforced.
SUMO Version: SUMO v1.19.0
Let me know if there's anything we can check on our end.
Thanks!
- the signal plan at that junction is unsafe because it gives major green to the right turn (it must be minor green so the cars yield for bikes)
- the visual collision with pedestrians is due to low spatial accuracy of the pedestrian-waiting-position model. From the viewpoint of the simulation, the pedestrians are safely outside the driving area and consequently sumo does not register a collision.
Thanks for the help! After we adjust the signal plan, the simulation works better. I have some further questions:
- If we give both the right turn of vehicle and the straight driving of bike major green, will the vehicle yield to the bikes?
- If we give both the right turn of vehicle in the north bound and the left turn of vehicle in the south bound minor green, who will have the priority?
- Is it possible to resolve the visualization issue? It seems the vehicle usually overlaps with the pedestrians waiting for the red light. Does adjusting the waking area work?
- The vehicle will react to a bicycle that is already on the intersection but will disregard a bicycle that is about to enter the intersection
- the right turn will get priority over the left turn
- you can define a lower
widthfor the walkingarea though this has to be done by applying a .con.xml patch with netconvert (https://sumo.dlr.de/docs/Networks/PlainXML.html#walking_areas) because netedit doesn't support editing the attribute yet.
Thanks for the explanation.
However, we still encounter collisions between vehicles and bikes at this intersection after we changed the priority of the signal plan. As shown in the following figure, the right turn of the vehicle is changed to minor green, and the connection of the bike lane is also set as minor green. The collision between the vehicle turning right and the bike going straight still happens. Is it possible to resolve this kind of issue?
Here are the new simulation configuration files. new_sumo_cfg.zip
Hello SUMO team,
As mentioned in our previous communication, we are still encountering collisions between bicycles and motor vehicles in our simulation. Despite earlier adjustments, the issue persists.
Could you please advise on possible solutions or recommended settings to help resolve this?
Thank you in advance for your support.
@zhuhj-tery Please give an example sumocfg without randomly initiated random number generator (>> --random false), so that we can reproduce it easily.
@zhuhj-tery It is caused by the waiting position of the turning vehicle ("contPos"). You can edit the "contPos" value of the connection in netedit to shift the waiting position upstream. At a "contPos" value of -1 the position is guessed automatically, whereas positive values indicate the position in meters starting from the connection begin.
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 https://github.com/eclipse-sumo/sumo/issues/16788 is now resolved