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

GM: fix possible steering message counter duplication #27281

Closed
wants to merge 1 commit into from

Conversation

sshane
Copy link
Contributor

@sshane sshane commented Feb 10, 2023

After thinking this out, this doesn't make sense. We already handle this pretty well. If OP were to lag so much that we didn't get a readback frame in three 10 ms frames and send a duplicate counter, then all of a sudden get two 128 confirmations, the car would see:

0 -> 0 (OP GETS READBACKS) -> 2

And on master, we'd handle this to the best of our ability by only incrementing once (we still would send a duplicate frame, thinking the steering message got blocked somehow):

0 -> 0 (OP GETS READBACKS) -> 1

@sshane sshane added car vehicle-specific gm bugfix labels Feb 10, 2023
@sshane sshane closed this Feb 10, 2023
@sshane sshane deleted the gm-count-each-msg branch February 10, 2023 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix car vehicle-specific gm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant