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

Toyota: unwind longitudinal integral #1652

Merged
merged 6 commits into from
Jan 22, 2025
Merged

Toyota: unwind longitudinal integral #1652

merged 6 commits into from
Jan 22, 2025

Conversation

sshane
Copy link
Contributor

@sshane sshane commented Jan 22, 2025

Solves issues like: #1632 by constantly slowly unwinding integral. This helps us recover from a large momentary error, without needing to oscillate/over/undershoot to the other side to unwind.

An alternative solution to #1651. This is more generic, as the Prius example starts undershooting at ~6 m/s, which I haven't seen happen on any of our cars here (mostly 1-2 m/s).

image

@github-actions github-actions bot added car related to opendbc/car/ toyota labels Jan 22, 2025
@sshane sshane merged commit 32f3c12 into master Jan 22, 2025
5 checks passed
@sshane sshane deleted the tss-unwind branch January 22, 2025 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
car related to opendbc/car/ toyota
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant