Skip to content

Refresh TraCI subscriptions after executeMove - #19986

Open
M-Colley wants to merge 3 commits into
eclipse-sumo:mainfrom
M-Colley:codex/sumo-15760-execute-move-subscriptions
Open

M-Colley wants to merge 3 commits into
eclipse-sumo:mainfrom
M-Colley:codex/sumo-15760-execute-move-subscriptions

Conversation

@M-Colley

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

Copy link
Copy Markdown
Contributor

Fixes #15760.

Summary

  • Refresh ordinary and context subscription results after executeMove() in libsumo, libtraci, and Python TraCI.
  • Add an optional server command that returns a subscription snapshot. Updated clients check support through a simulation parameter and request the snapshot once movement completes. Legacy clients receive a status-only executeMove() reply.

Evidence

  • The regression fails on stock and passes on native Python TCP, libtraci, libsumo, and meso. It checks subscriptions against direct queries after two moves.

  • The selected TCP and libtraci suites passed 84 cases each. Both multiple-connection selections passed all eight cases. The libsumo selection passed 81 of 84 cases. The three GUI-dependent cases fail identically on the stock headless bindings.

  • The new clients ran against the stock server without emitting an unsupported-command error. A raw legacy request to the patched server received only the status. A two-client replay confirmed that subscriptions update during the after-move phase while the other client waits at the step barrier.

  • Strict MkDocs passed.

Merge Danger

Supported TCP connections make one additional request after each executeMove(). Clients query support once per connection. Direct libsumo refreshes results in process.

M-Colley and others added 3 commits December 5, 2026 03:13
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-15760-execute-move-subscriptions branch from ebc8d19 to 17d3c3d Compare December 5, 2026 02:13
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.

traci.simulation.executeMove() does not work with context_subscription = traci.vehicle.getContextSubscriptionResults()

1 participant