sumo icon indicating copy to clipboard operation
sumo copied to clipboard

pedestrians cross the street somewhere

Open PaulineHartwig opened this issue 4 years ago • 5 comments

This is not a mistake in the classical sense, but rather an idea for realistic senarios. At the moment pedestrians only cross the streets at crossing, but in realife pedestrians also cross the streets anywhere. Maybe it will be possible in the future that pedestrians can cross the streets all over.

PaulineHartwig avatar Jul 19 '21 08:07 PaulineHartwig

Jaywalking can currently be modeled by creating multiple (non-priority) crossings. Alternatively, moveToXY() could be used.

schwamborn avatar Jul 20 '21 09:07 schwamborn

Some points from internal discussion:

  • issues with work-around by creating multiple crossings:

    • manual process so far which would need tooling to automate
    • if crossings result in lots of short edges, we might run into problems concerning lookahead distance (or number of lookahead edges)
    • routes of pedestrians have to be pre-determined (no dynamic re-routing without traci)
  • additional pedestrian model might be needed allowing event-based jaywalking, e.g., based on strategic decision, and requiring a minimum gap to oncoming vehicle for safe jaywalking.

@behrisch @namdre Anything I have missed? Further opinions?

schwamborn avatar Jul 20 '21 13:07 schwamborn

  • netconvert allows splitting edges with additional junctions via --geometry.max-segment-length 10 --geometry.split
  • lookahead distance should keep working regardless of extra junctions (and most code should already use distance rather than edges for this reason)
  • rerouting of persons should be almost finished (#2408). Since pedestrian routing can already interact with traffic lights, this might eventually be extended to allow dynamic jaywalking decisions (non-priority-crossings are already evaluated with regard to feasible gaps). To get some variability, --weights.random-factor can be used right now

namdre avatar Aug 03 '21 08:08 namdre

see #9099

behrisch avatar Nov 09 '21 08:11 behrisch

Jaywalking can be forced by remote-controlling the person with traci.person.moveToXY (vehicles will react while it is on the road)

namdre avatar Sep 09 '22 12:09 namdre