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: improved steering control #25713

Closed
wants to merge 3 commits into from
Closed

Ford: improved steering control #25713

wants to merge 3 commits into from

Conversation

incognitojam
Copy link
Member

@incognitojam incognitojam commented Sep 9, 2022

  • refactor rate limits as "angle per second" limits
    • calculate rate limit from command frequency (ford only sends at 20Hz! the limits were 5x too strict before)

@incognitojam incognitojam force-pushed the ford-steering branch 2 times, most recently from c11fcb9 to cac05ac Compare September 9, 2022 21:13
@incognitojam incognitojam force-pushed the ford-steering branch 2 times, most recently from 348d33b to fb52b03 Compare September 9, 2022 22:08
Define rate limits as "angle per second" and apply them according to the
LKAS_STEER_STEP (command frequency).
@incognitojam incognitojam force-pushed the ford-steering branch 2 times, most recently from e7b7f39 to 5973625 Compare September 11, 2022 06:45
@incognitojam incognitojam changed the title Ford: steering angle error correction Ford: improved steering control Sep 11, 2022
@sshane sshane added enhancement controls controls/planner related ford labels Sep 12, 2022
@incognitojam
Copy link
Member Author

incognitojam commented Sep 12, 2022

Sometimes the EPS just stops responding to the commands, but it doesn't appear to be faulted - if the driver steers the wheel manually to the desired angle it will recover... I will try limiting the difference between the reported steering angle and the angle we command.

59a107f5793d9cc0|2022-09-12--09-19-12--3
image

@incognitojam incognitojam force-pushed the ford-steering branch 3 times, most recently from 3c766ab to e7b7f39 Compare October 25, 2022 04:02
@incognitojam incognitojam deleted the ford-steering branch October 25, 2022 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
controls controls/planner related enhancement ford
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants