Skip to content

Detect people at instantaneous induction loops - #19997

Open
M-Colley wants to merge 3 commits into
eclipse-sumo:mainfrom
M-Colley:codex/sumo-17513-instant-loop-person-detection
Open

M-Colley wants to merge 3 commits into
eclipse-sumo:mainfrom
M-Colley:codex/sumo-17513-instant-loop-person-detection

Conversation

@M-Colley

@M-Colley M-Colley commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Record instantaneous loop events for pedestrians and matching vehicle occupants when detectPersons is set.
  • Measure walking direction from lane positions. Record crossings at lane boundaries, including when JuPedSim maps a pedestrian to a connected walking area.
  • Track occupants who board or alight while their vehicle covers the loop. Report the person's ID and type.

Fixes #17513.

Evidence

  • Stock SUMO writes no person events for the new regression. The patch detects both walking directions, two occupants of one car, and a bicycle rider. A walk ending before the loop and an empty vehicle produce no person events.
  • All 443 selected detector and person simulation tests passed. Direct checks covered nonInteracting, legacy JuPedSim, ballistic integration, public transport, taxis, and boarding over a detector.
  • The SUMO and SUMO GUI builds, detector XML validation, and strict MkDocs passed.

Merge Danger

Person-configured loops now write events. This PR and #19982 edit the same instantaneous detector implementation and will need conflict resolution if both changes are merged.

M-Colley and others added 3 commits December 5, 2026 03:31
Signed-off-by: Josh <39366189+M-Colley@users.noreply.github.com>
Co-authored-by: Codex <codex@openai.com>
Signed-off-by: Josh <39366189+M-Colley@users.noreply.github.com>
Co-authored-by: Codex <codex@openai.com>
Signed-off-by: Josh <39366189+M-Colley@users.noreply.github.com>
Co-authored-by: Codex <codex@openai.com>
@behrisch
behrisch force-pushed the codex/sumo-17513-instant-loop-person-detection branch from afa6cac to c9dd032 Compare December 5, 2026 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

instantInductionLoop should support attribute detectPersons

1 participant