Hyundai: Enhanced Smart Cruise Control (ESCC) (#39)

* Integrate Enhanced SCC (ESCC) support for Hyundai vehicles

Add support for ESCC in Hyundai vehicles by introducing the ESCC class and modifying the CarController, safety hooks, and radar interface. This enhancement allows better longitudinal control by leveraging ESCC data, ensuring more reliable Advanced Emergency Braking (AEB) and Forward Collision Avoidance (FCA) alerts. Additional configurations and safety parameters have been incorporated to support this functionality.

* common escc

* misra

* escc unit test

* 100%

* we don't check if using escc

* bump submodules

* unit test!

---------

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
This commit is contained in:
DevTekVE
2024-11-22 15:03:06 +01:00
committed by GitHub
parent 623a7fad90
commit 97311d5057
5 changed files with 53 additions and 3 deletions

View File

@@ -202,6 +202,7 @@ class Panda:
FLAG_HYUNDAI_CANFD_ALT_BUTTONS = 32
FLAG_HYUNDAI_ALT_LIMITS = 64
FLAG_HYUNDAI_CANFD_HDA2_ALT_STEERING = 128
FLAG_HYUNDAI_ESCC = 512
FLAG_TESLA_POWERTRAIN = 1
FLAG_TESLA_LONG_CONTROL = 2