Skip to content

Hyundai Kia Genesis

royjr edited this page May 2, 2025 · 59 revisions

hyundai kia genesis

◄ Home

Harness Guide

Before purchasing a harness for an unsupported vehicle, make sure you are purchasing the correct type.

It's important to look where the notches are on your plug side, and ensure they match correctly.

You can find this connector plugged into your Lane-Keep camera which is located near your rear-view mirror. You will need to pull back some trim to expose the camera. Once you do, unplug the connector and compare it to the types below.

The harnesses are grouped by same notch types. One missing wire is fine.

Wire Key


Hyundai M non-HDA2 - wiring diagram


Hyundai A non-HDA2 - wiring diagram

Hyundai R HDA2 - wiring diagram

Hyundai N different wiring / non-HDA2 - wiring diagram


Hyundai K non-HDA2 - wiring diagram

Hyundai Q HDA2 - wiring diagram

Hyundai O different wiring / non-HDA2 - wiring diagram


Hyundai L non-HDA2 - wiring diagram

Hyundai P HDA2 - wiring diagram


Hyundai B wiring diagram

Hyundai C wiring diagram


Hyundai E wiring diagram

Hyundai F wiring diagram


Hyundai I wiring diagram

Hyundai D wiring diagram


Hyundai G wiring diagram

Hyundai H wiring diagram


Hyundai J Same connector housing as a Toyota harness, but different wiring. wiring diagram


Make-Specific Terms

For general terms, go here.

Abbreviation Term Definition
SCC Smart Cruise Control A fancy way to say ACC, or adaptive cruise control.
HDA Highway Driver Assist Combines LFA and SCC with map data to create a more comfortable level 2 experience.
LFA Lane Follow Assist A fancier LKAS that centers but nags

openpilot Capabilities

Lateral Control

Control over the steering wheel.

For HKG cars that have critical damping (ping pong, oscillation, ziggy zaggies) no matter your settings, PID tuning may not be right for your car. You can try INDI tuning instead by adding these five lines to your relevant car in /car/hyundai/interface.py :

ret.lateralTuning.init('indi')
ret.lateralTuning.indi.innerLoopGain = 3.0
ret.lateralTuning.indi.outerLoopGain = 2.0
ret.lateralTuning.indi.timeConstant = 1.0
ret.lateralTuning.indi.actuatorEffectiveness = 1.0

Comment out the lines containing Kp, Ki and Kf with a # at the beginning of the line.

The above is only a start point, and needs tuning like any variable parameter. Raise and lower the LoopGain's by 0.1 at a time, both up or down, until your condition improves. For Stinger and Genesis, the actuatorEffectiveness start point should be 1.5.

Longitudinal Control

Control over the gas and brakes.

At the moment, longitudinal control is provided by the stock system that came with the car. In the future, we will be able to control longitudinally via openpilot for any vehicle whose trims can support SCC, even if not equipped

Clone this wiki locally