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

Ford: higher curvature rate limits at low speed #1394

Merged
merged 9 commits into from
Oct 26, 2024
Merged

Ford: higher curvature rate limits at low speed #1394

merged 9 commits into from
Oct 26, 2024

Conversation

sshane
Copy link
Contributor

@sshane sshane commented Oct 22, 2024

panda PR: commaai/panda#2065

The low speed limits imposed by the EPS are still insanely low (< 0.5 m/s^3 at 7 m/s), but this still is an improvement from our current limits. In the segment below, we increase our rate limiting ~2x to match the EPS's limits:

interp(7, [5, 25], [0.0002, 0.0001]) * 20 * 7 ** 2
Out[48]: 0.18620000000000003
interp(7, [5, 25], [0.00045, 0.000125]) * 20 * 7 ** 2
Out[49]: 0.40915

# EPS at this speed: 0.009 * 7 ** 2 = 0.441

An example of stock EPS limiting us:

image

@github-actions github-actions bot added car related to opendbc/car/ ford labels Oct 22, 2024
@sshane sshane merged commit 4aae6d0 into master Oct 26, 2024
4 checks passed
@sshane sshane deleted the ford-lsl branch October 26, 2024 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
car related to opendbc/car/ ford
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant