8000 interfaces: improve steering pressed signal by sshane · Pull Request #2283 · commaai/opendbc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

interfaces: improve steering pressed signal #2283

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 1 commit into from
May 23, 2025
Merged

Conversation

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

Now doesn't reset to unpressed if it gets a single sample under the threshold, it ramps back down like CANParser and safety's invalid counter counter. Only difference is we allow going above the threshold by 2x, so also allow time for the torque to switch signs before dropping.

old vs. new (these plots are before #2233):

image
image

@github-actions github-actions bot added the car related to opendbc/car/ label May 22, 2025
@sshane sshane merged commit c67f882 into master May 23, 2025
7 checks passed
@sshane sshane deleted the improve-steering-pressed branch May 23, 2025 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
car related to opendbc/car/
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0