Repository navigation
Conversation
M-Colley
force-pushed
the
codex/sumo-16631-induction-loop-passed-vehicles
branch
from
December 3, 2026 20:26
8068a7e to
acf108f
Compare
This was referenced Dec 3, 2026
Signed-off-by: Josh <39366189+M-Colley@users.noreply.github.com> Co-authored-by: Codex <noreply@openai.com>
Signed-off-by: Josh <39366189+M-Colley@users.noreply.github.com> Co-authored-by: Codex <noreply@openai.com>
Signed-off-by: Josh <39366189+M-Colley@users.noreply.github.com> Co-authored-by: Codex <noreply@openai.com>
behrisch
force-pushed
the
codex/sumo-16631-induction-loop-passed-vehicles
branch
from
December 5, 2026 03:56
acf108f to
3e8fa96
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #16631
Adds the four requested TraCI accessors for completed passages in the current and previous intervals of a microscopic E1 detector. They use the same completed-passage records as XML
nVehContrib, including a passage that starts in one interval and clears the detector in the next. The accompanying test also removes a vehicle before it clears the detector. Mesoscopic E1 detectors report aggregate values and return a TraCI error for the new variables.The upstream binary rejected the new variable codes. The patched native SUMO passed all seven microscopic induction loop cases and the new mesoscopic error case. A direct subscription check returned the expected counts and IDs. The C++ libtraci induction loop translation unit compiled. Two older mesoscopic controls reproduced their failures on the upstream binary as well.
This PR adds separate variables for completed passages and preserves the existing interval getter semantics requested in #16631. The timing changes in #20001 also affect the existing getters and need to preserve their detection semantics when combined with this API. The test registration and documentation merge cleanly with #18708, #19988, and the current #20001 head.