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

HKG: Car Port Hyundai Ioniq 5 PE (HDA2 & LFA2) #1676

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

devtekve
Copy link
Contributor

@devtekve devtekve commented Jan 29, 2025

This update adds angle control functionality specifically for the Hyundai Ioniq 5 PE model. Changes were made across several files and variables to accommodate this additional feature. This control type provides enhanced handling and steering performance depending on the driving conditions, given its ability to adjust steering angle precisely.

Note1

The logic has really been built by @sunnyhaibin for #1674 which is still WIP as well, this is just a "clean" version for ioniq 5 PE

Note2

Do not test / use this yet, there's still work and safety validations that need to happen before it can be used

This update adds angle control functionality specifically for the Hyundai Ioniq 5 PE model. Changes were made across several files and variables to accommodate this additional feature. This control type provides enhanced handling and steering performance depending on the driving conditions, given its ability to adjust steering angle precisely.

Angle control stems from the angle of the steering wheel rather than torque, providing a more sophisticated steering response. In the Hyundai Ioniq 5 PE, adjustments for the input angle and torque calculations have been added, ensuring a more dynamic and responsive driving experience.

Variable additions include '`apply_angle_last`', '`lkas_max_torque`' and '`driver_applied_torque_reducer`', and a new condition was created for if the driver is manually applying some torque.

All of these changes allow for the application of correct torque when the driver is not actively steering, emulating the behavior of a stock LKAS system when engaged.
@github-actions github-actions bot added DBC signals car related to opendbc/car/ hyundai labels Jan 29, 2025
@devtekve devtekve changed the title car: Adding Hyundai Ioniq 5 PE (WIP) HKG: Car Port Hyundai Ioniq 5 PE (HDA2 & LFA2) Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
car related to opendbc/car/ DBC signals hyundai
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants