8000 Hyundai: fix recent enable button press regression by sshane · Pull Request #2262 · commaai/opendbc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Hyundai: fix recent enable button press regression #2262

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

Merged
merged 9 commits into from
May 18, 2025
Merged

Conversation

sshane
Copy link
Contributor
@sshane sshane commented May 18, 2025

We went from checking every 50 Hz CLU11 button message to checking at 100 Hz, so we halve the time we sample for user button presses. I guess this wasn't a problem for most cars, but the issue below shows the PCM enabling a little bit out of the new halved sample window which is now fixed again.

Broken in commaai/openpilot#33710

Closes #2156

Matching old reference carstate and interface: https://github.com/commaai/openpilot/blob/6a15aa3f8c58e40e5e47c7ce4c906f5368ec243a/selfdrive/car/hyundai/interface.py

@sshane sshane changed the title Hyundai: add allowPcmEnable to fix recent enable button press Hyundai: fix recent enable button press regression May 18, 2025
@sshane sshane added bugfix car related to opendbc/car/ hyundai labels May 18, 2025
@sshane
Copy link
Contributor Author
sshane commented May 18, 2025

regen on master vs. regen on this branch
image

@sshane sshane merged commit 0af0d46 into master May 18, 2025
9 checks passed
@sshane sshane deleted the hyundai-allow-enable branch May 18, 2025 07:51
vanillagorillaa pushed a commit to vanillagorillaa/opendbc that referenced this pull request May 19, 2025
* move back to port

* much better

* fix button type

* fix

* need to switch so it works on ports that don't use it, and makes more sense

* otherwise it'd be

* Revert "otherwise it'd be"

This reverts commit 99a9504.

* make sense
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix car related to opendbc/car/ hyundai
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hyundai 2016 Genesis: OP does not engage after pressing "Cruise" and then "Set" takes multiple presses of the "Set" button to engage.
1 participant
0