Skip to content

Support multi-entry/exit detector targets in context subscriptions - #19992

Open
M-Colley wants to merge 3 commits into
eclipse-sumo:mainfrom
M-Colley:codex/sumo-10967-e3-context
Open

M-Colley wants to merge 3 commits into
eclipse-sumo:mainfrom
M-Colley:codex/sumo-10967-e3-context

Conversation

@M-Colley

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

Copy link
Copy Markdown
Contributor

Summary

  • Add multi-entry/exit detectors as TraCI context targets through the same spatial index used by other detector domains.
  • Compute source and target geometry from lane positions at the entry and exit crossings. Clear the spatial index when a simulation reloads.

Refs #10967.

Evidence

  • Stock SUMO rejects the E3 target with Infeasible context domain (161). The regression checks detection inside and outside the subscription range and after a reload.
  • Passed 85 TCP TraCI, 85 libtraci, and 81 headless libsumo tests. Strict MkDocs passed.

Merge Danger

Queries for E3 targets now return detectors whose crossing bounds intersect the query bounds. Other context domain combinations in #10967 can be handled independently.

M-Colley and others added 3 commits December 5, 2026 03:15
…#10967

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-10967-e3-context branch from 9662b78 to fdf511f Compare December 5, 2026 02:15
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.

1 participant