Skip to content

Commit bb8112f

Browse files
authored
Add LFA button and speed limit signal for newer Hyundai cars. (commaai#412)
* Add speed limit message for hyundai navigation systems * Move comment to bottom of dbc * Add LFA button pressed signal
1 parent ac37f48 commit bb8112f

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

hyundai_kia_generic.dbc

+16-9
Original file line numberDiff line numberDiff line change
@@ -1489,6 +1489,7 @@ BO_ 1157 LFAHDA_MFC: 4 XXX
14891489
BO_ 913 BCM_PO_11: 8 Vector__XXX
14901490
SG_ BCM_Door_Dri_Status : 5|1@0+ (1,0) [0|1] "" PT_ESC_ABS
14911491
SG_ BCM_Shift_R_MT_SW_Status : 39|2@0+ (1,0) [0|3] "" PT_ESC_ABS
1492+
SG_ LFA_Pressed : 4|1@0+ (1,0) [0|1] "" XXX
14921493

14931494
BO_ 1426 LABEL11: 8 XXX
14941495
SG_ CC_React : 34|1@1+ (1,0) [0|1] "" XXX
@@ -1637,14 +1638,20 @@ BO_ 1042 ICM_412h: 8 ICM
16371638
SG_ PopupMessageOutput_7Level : 54|1@0+ (1,0) [0|1] "" Vector__XXX
16381639
SG_ PopupMessageOutput_8Level : 55|1@0+ (1,0) [0|1] "" Vector__XXX
16391640

1640-
VAL_ 274 CUR_GR 1 "D" 2 "D" 3 "D" 4 "D" 5 "D" 6 "D" 7 "D" 8 "D" 14 "R" 0 "P";
1641-
VAL_ 871 CF_Lvr_Gear 5 "D" 8 "S" 6 "N" 7 "R" 0 "P";
1642-
VAL_ 882 Elect_Gear_Shifter 5 "D" 8 "S" 6 "N" 7 "R" 0 "P";
1643-
VAL_ 1322 CF_Clu_Gear 1 "P" 2 "R" 4 "N" 8 "D";
1644-
VAL_ 909 CF_VSM_Warn 2 "FCW" 3 "AEB";
1645-
VAL_ 1157 LFA_Icon_State 0 "no_wheel" 1 "white_wheel" 2 "green_wheel" 3 "green_wheel_blink";
1646-
VAL_ 1157 LFA_SysWarning 0 "no_message" 1 "switching_to_hda" 2 "switching_to_scc" 3 "lfa_error" 4 "check_hda" 5 "keep_hands_on_wheel_orange" 6 "keep_hands_on_wheel_red";
1647-
VAL_ 1157 HDA_Icon_State 0 "no_hda" 1 "white_hda" 2 "green_hda";
1648-
VAL_ 1157 HDA_SysWarning 0 "no_message" 1 "driving_convenience_systems_cancelled" 2 "highway_drive_assist_system_cancelled";
1641+
BO_ 1348 Navi_HU: 8 XXX
1642+
SG_ SpeedLim_Nav_Clu : 7|8@0+ (1,0) [0|255] "" XXX
16491643

1644+
1645+
1646+
1647+
VAL_ 871 CF_Lvr_Gear 5 "D" 8 "S" 6 "N" 7 "R" 0 "P" ;
1648+
VAL_ 1322 CF_Clu_Gear 1 "P" 2 "R" 4 "N" 8 "D" ;
1649+
VAL_ 274 CUR_GR 1 "D" 2 "D" 3 "D" 4 "D" 5 "D" 6 "D" 7 "D" 8 "D" 14 "R" 0 "P" ;
1650+
VAL_ 909 CF_VSM_Warn 2 "FCW" 3 "AEB" ;
1651+
VAL_ 1157 HDA_Icon_State 0 "no_hda" 1 "white_hda" 2 "green_hda" ;
1652+
VAL_ 1157 LFA_SysWarning 0 "no_message" 1 "switching_to_hda" 2 "switching_to_scc" 3 "lfa_error" 4 "check_hda" 5 "keep_hands_on_wheel_orange" 6 "keep_hands_on_wheel_red" ;
1653+
VAL_ 1157 LFA_Icon_State 0 "no_wheel" 1 "white_wheel" 2 "green_wheel" 3 "green_wheel_blink" ;
1654+
VAL_ 1157 HDA_SysWarning 0 "no_message" 1 "driving_convenience_systems_cancelled" 2 "highway_drive_assist_system_cancelled" ;
1655+
VAL_ 882 Elect_Gear_Shifter 5 "D" 8 "S" 6 "N" 7 "R" 0 "P" ;
16501656
CM_ "BO_ E_EMS11: All (plug-in) hybrids use this gas signal: CR_Vcu_AccPedDep_Pos, and all EVs use the Accel_Pedal_Pos signal. See hyundai/values.py for a specific car list";
1657+
CM_ SG_ 1348 SpeedLim_Nav_Clu "Speed limit displayed on Nav, Cluster and HUD";

0 commit comments

Comments
 (0)