Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes regression in #12990 #13740

Merged

Conversation

mschrader15
Copy link
Contributor

@mschrader15 mschrader15 commented Aug 24, 2023

The implementation of red transfer in #12990 led to edge cases where illegal barrier cross could occur. The problem was incorrect transition time calculation for lights in red transfer state.

I simplified the red transfer logic and corrected the error in transition time calculation for phases in red transfer (0)

PR also includes refactoring & ran astyle.

@palvarezlopez palvarezlopez requested a review from behrisch August 29, 2023 05:07
@behrisch behrisch self-assigned this Aug 29, 2023
@behrisch
Copy link
Contributor

behrisch commented Jan 2, 2024

Sorry for not looking at this one earlier. There was a lot of empty line removal which is something astyle does not (at least on our side) Could you please revert this if possible?

@mschrader15
Copy link
Contributor Author

I removed whitespace / newline changes to the best of my ability

@namdre namdre added this to the 1.20.0 milestone Feb 15, 2024
@namdre namdre merged commit dd3357e into eclipse-sumo:main Mar 1, 2024
44 of 47 checks passed
@namdre
Copy link
Contributor

namdre commented Mar 1, 2024

Thanks for the reminder ;-)

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.

3 participants