Skip to content

sjkoon/openpilot

 
 

Repository files navigation

HKG Community information

This is the "Community fork" for Kia, Hyundai and Genesis. it is a fork of comma's openpilot: https://github.com/commaai/openpilot. It is open source and inherits MIT license. By installing this software you accept all responsibility for anything that might occur while you use it. All contributors to this fork are not liable. Use at your own risk.

The port was started by Andrew Frahn of Emmertex, ku7 tech on youtube https://www.youtube.com/c/ku7tech I am going to try to mintain this fork for the commuinty, if you like it you can support me from here: Donate

Changes:

  • Auto LCA: credit to @SiGmAX666: Auto Lane change assist, no need for steering nudge. LCA will abort if driver override steering wheel. To enable Auto LCA(disabled by default), change line 189 in selfdrive/car/hyundai/interface.py to:
    ret.autoLcaEnabled = 1
  • Enable by Cruise button: Only for Car without long control, Openpilot will engage when turn cruise control on. To revert to SET button for enable, change line 54 in selfdrive/car/hyundai/carcontroller.py to:
    self.longcontrol = 1
  • Turning disable: thank to Ku7: Openpilot will disable steering while turning signal on and speed below 60 kph, Enable again after 1 second.
  • Increase driver monitoring timer
  • Disabling by LKAS button: Openpilot will disable and enable steering by toggling LKAS button.
  • Setup Auto Detection: Openpilot and Panda will detect MDPS, SCC and SAS buses and behaive acordingly.
  • Panda Universal Forwarding(PUF): Panda will auto forwading for all CAN messages if Eon disconnected.

Known issues

(temporarily fixed)LKAS fauls when driver override steering in opposite direction of Openpilot, it cause by Panda safety bolcking LKAS messages.

HKG Supported Cars

To add new car or fingerprint, please make Pull Requset or send me the fingerprint along with below information:

Make Model (US Market Reference) Supported Package ACC No ACC accel below No ALC below
Genesis G80 2018 All Stock 0mph 0mph
Genesis G90 2018 All Stock 0mph 0mph
Hyundai Elantra 2017-195 SCC + LKAS Stock 19mph 34mph
Hyundai Elantra GT/i30 2017-19 All Stock 0mph 30mph
Hyundai Genesis 2018 All Stock 19mph 34mph
Hyundai Ioniq 20175 All Stock 0mph 34mph
Hyundai Kona 2017-195 LDWS Stock 22mph 0mph
Hyundai Santa Fe 20195 All Stock 0mph 0mph
Kia Forte 20185 LKAS Stock 0mph 0mph
Kia Forte 20195 LKAS Stock 0mph 0mph
Kia Optima 20175 SCC + LKAS/LDWS Stock 0mph 34mph
Kia Optima 20195 SCC + LKAS Stock 0mph 0mph
Kia Sorento 20185 All Stock 0mph 0mph
Kia Stinger 20185 SCC + LKAS Stock 0mph 0mph

Known issues

Licensing

openpilot is released under the MIT license. Some parts of the software are released under other licenses as specified.

Any user of this software shall indemnify and hold harmless Comma.ai, Inc. and its directors, officers, employees, agents, stockholders, affiliates, subcontractors and customers from and against all allegations, claims, actions, suits, demands, damages, liabilities, obligations, losses, settlements, judgments, costs and expenses (including without limitation attorneys’ fees and costs) which arise out of, relate to or result from any use of this software by user.

THIS IS ALPHA QUALITY SOFTWARE FOR RESEARCH PURPOSES ONLY. THIS IS NOT A PRODUCT. YOU ARE RESPONSIBLE FOR COMPLYING WITH LOCAL LAWS AND REGULATIONS. NO WARRANTY EXPRESSED OR IMPLIED.


About

open source driving agent

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 47.3%
  • C 43.9%
  • Python 7.6%
  • Objective-C 0.4%
  • Cap'n Proto 0.3%
  • Assembly 0.2%
  • Other 0.3%