Skip to content

HDA2 cars: fix torque limits - #24748

Closed
sshane wants to merge 7 commits into
masterfrom
hda2-torque-comp
Closed

sshane wants to merge 7 commits into
masterfrom
hda2-torque-comp

Conversation

@sshane

@sshane sshane commented Jun 4, 2022 •

Copy link
Copy Markdown
Collaborator

Our torque limits and steering pressed logic assumes the original Hyundai scaling, but the signal on HDA2 cars is 4x in max value, causing torque to wind down when not touching the wheel.

  • Update torque rate limits and steering pressed threshold

https://imgur.com/a/9SfUxMq

@sshane sshane changed the title HDA2 cars: same steeringTorque scaling HDA2 cars: consistent steeringTorque scaling Jun 4, 2022
@sshane sshane added car vehicle-specific hyundai bugfix labels Jun 4, 2022
@sshane sshane changed the title HDA2 cars: consistent steeringTorque scaling HDA2 cars: fix torque limits Jun 4, 2022
@sshane
sshane force-pushed the hda2-torque-comp branch from 66443ef to 50a9f5a Compare June 4, 2022 01:07
@sshane

sshane commented Jun 15, 2022 •

Copy link
Copy Markdown
Collaborator Author

Even with the torque threshold bump, driver and EPS torque signals are much too noisy to consistently rely on right now.

Driver torque going from 385 to 14 in one frame:
Screenshot from 2022-06-15 13-22-32

@sshane

sshane commented Jun 23, 2022

Copy link
Copy Markdown
Collaborator Author

This PR did this: #24901

@adeebshihadeh

Copy link
Copy Markdown
Contributor

Done in 2210868

@sshane sshane closed this Jun 23, 2022
@adeebshihadeh
adeebshihadeh deleted the hda2-torque-comp branch June 23, 2022 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix car vehicle-specific hyundai

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants