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: DBC for Hyundai Palisade and Kia Telluride 2023-24 (HDA2) #784

Closed
wants to merge 60 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
096e0c7
HKG: Car Port for 2023 Hyundai Palisade & Kia Telluride
sunnyhaibin Feb 11, 2023
18335c4
Merge remote-tracking branch 'commaai/opendbc/master' into palisade-2…
sunnyhaibin Feb 19, 2023
f4765a7
This doesn't exist
sunnyhaibin Feb 19, 2023
0977245
fix set speed definitions
sunnyhaibin Mar 1, 2023
0f1379a
ugh, new blind spot indicator signals
sunnyhaibin Mar 1, 2023
b7c1f31
fill it up
sunnyhaibin Mar 3, 2023
c4a9682
Checksum seems to be the same for most
sunnyhaibin Mar 3, 2023
dfbb8a9
won't work
sunnyhaibin Mar 3, 2023
fe7f102
fill up LFAHDA_MFC
sunnyhaibin Mar 3, 2023
7bd4e03
split up the bytes
sunnyhaibin Mar 4, 2023
f9ade44
add StopReq
sunnyhaibin Mar 4, 2023
5b45a89
use same checksum name
sunnyhaibin Mar 4, 2023
022aa5d
define 0x4a2
sunnyhaibin Mar 6, 2023
321f9fe
some radar msgs
sunnyhaibin Mar 6, 2023
9499dac
fill them up
sunnyhaibin Mar 6, 2023
76a66f2
Merge branch 'upstream/opendbc/master' into palisade-2023-port-1
sunnyhaibin Mar 27, 2023
17ccd9d
Merge branch 'upstream/opendbc/master' into palisade-2023-port-1
sunnyhaibin Jun 3, 2023
9e47691
Don't check non-16-bit checksum msgs
sunnyhaibin Jun 3, 2023
7aa2abf
Merge remote-tracking branch 'commaai/opendbc/master' into palisade-2…
sunnyhaibin Aug 11, 2023
291d01e
Merge remote-tracking branch 'commaai/opendbc/master' into palisade-2…
sunnyhaibin Aug 18, 2023
9310837
Use generated DBC for common messages
sunnyhaibin Aug 27, 2023
5194849
Merge remote-tracking branch 'commaai/opendbc/master' into palisade-2…
sunnyhaibin Aug 27, 2023
6093b5b
Sync with upstream fix
sunnyhaibin Aug 27, 2023
31edd5b
oops
sunnyhaibin Aug 27, 2023
bf5e9f7
Merge remote-tracking branch 'commaai/opendbc/master' into palisade-2…
sunnyhaibin Aug 28, 2023
839f68f
Update and run generator
sunnyhaibin Aug 28, 2023
7ef4a80
Merge remote-tracking branch 'commaai/opendbc/master' into palisade-2…
sunnyhaibin Aug 29, 2023
1847962
sync
sunnyhaibin Aug 29, 2023
288fcf8
Merge remote-tracking branch 'commaai/opendbc/master' into palisade-2…
sunnyhaibin Aug 30, 2023
85ef247
sync with upstream
sunnyhaibin Aug 30, 2023
cb7a641
Merge remote-tracking branch 'commaai/opendbc/master' into palisade-2…
sunnyhaibin Aug 30, 2023
e400fbd
sync with upstream
sunnyhaibin Aug 30, 2023
e945817
Merge remote-tracking branch 'upstream/master' into palisade-2023-port-1
sshane Sep 6, 2023
d260445
Merge remote-tracking branch 'upstream/master' into palisade-2023-port-1
sshane Sep 7, 2023
2943683
Merge remote-tracking branch 'upstream/master' into palisade-2023-port-1
sshane Sep 13, 2023
ad78100
Merge branch 'upstream/opendbc/master' into palisade-2023-port-1
sunnyhaibin Nov 16, 2023
6cd3ea5
sync dbc with generator
sunnyhaibin Nov 16, 2023
34f562f
Merge remote-tracking branch 'commaai/opendbc/master' into palisade-2…
sunnyhaibin Mar 3, 2024
0441f28
likely flipped signals
sunnyhaibin Apr 23, 2024
c8c1453
more consistent for ObjValid
sunnyhaibin Apr 23, 2024
1134e20
Merge remote-tracking branch 'commaai/opendbc/master' into palisade-2…
sunnyhaibin Apr 24, 2024
0ebaa62
don't auto generate checksum
sunnyhaibin Apr 24, 2024
dc53742
new gear shifter sig
sunnyhaibin Apr 24, 2024
571725a
fill it up
sunnyhaibin Apr 24, 2024
3915778
overlapped
sunnyhaibin Apr 24, 2024
19bb1c5
same checksum and counter defs
sunnyhaibin Apr 24, 2024
7609205
generate checksum, simplify checksum and counter calculations
sunnyhaibin Apr 24, 2024
c7b58e9
update def
sunnyhaibin Apr 24, 2024
feb75c6
elevation from sea level
sunnyhaibin Apr 24, 2024
58dd9a8
distance bar
sunnyhaibin Apr 24, 2024
6539f4c
Revert "likely flipped signals"
sunnyhaibin Apr 24, 2024
3a933cc
FCW settings in head unit
sunnyhaibin Apr 25, 2024
ae7c6c1
lead car status icon on cluster
sunnyhaibin Apr 26, 2024
44b5477
add negative offset to upper jerk limit
sunnyhaibin Apr 26, 2024
94f5a18
possible lead lane location
sunnyhaibin Apr 27, 2024
6d4f65f
new signal
sunnyhaibin Apr 27, 2024
e014f6c
unnecessary
sunnyhaibin Apr 27, 2024
42f36ff
tofu (lead) signal on cluster and HUD
sunnyhaibin Apr 28, 2024
4a36bf6
Revert "tofu (lead) signal on cluster and HUD"
sunnyhaibin Apr 28, 2024
5956b7b
Merge remote-tracking branch 'commaai/opendbc/master' into palisade-2…
sunnyhaibin Jun 17, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
232 changes: 232 additions & 0 deletions generator/hyundai/_hyundai_canfd_common.dbc
Original file line number Diff line number Diff line change
@@ -0,0 +1,232 @@
VERSION ""


NS_ :
NS_DESC_
CM_
BA_DEF_
BA_
VAL_
CAT_DEF_
CAT_
FILTER
BA_DEF_DEF_
EV_DATA_
ENVVAR_DATA_
SGTYPE_
SGTYPE_VAL_
BA_DEF_SGTYPE_
BA_SGTYPE_
SIG_TYPE_REF_
VAL_TABLE_
SIG_GROUP_
SIG_VALTYPE_
SIGTYPE_VALTYPE_
BO_TX_BU_
BA_DEF_REL_
BA_REL_
BA_DEF_DEF_REL_
BU_SG_REL_
BU_EV_REL_
BU_BO_REL_
SG_MUL_VAL_

BS_:

BU_: XXX CAMERA FRONT_RADAR ADRV APRK


BO_ 80 LKAS: 16 XXX
SG_ CHECKSUM : 0|16@1+ (1,0) [0|0] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|0] "" XXX
SG_ LKA_MODE : 24|3@1+ (1,0) [0|0] "" XXX
SG_ NEW_SIGNAL_1 : 27|2@1+ (1,0) [0|0] "" XXX
SG_ LKA_WARNING : 32|1@1+ (1,0) [0|0] "" XXX
SG_ LKA_ICON : 38|2@1+ (1,0) [0|0] "" XXX
SG_ FCA_SYSWARN : 40|1@1+ (1,0) [0|3] "" XXX
SG_ TORQUE_REQUEST : 41|11@1+ (1,-1024) [0|0] "" XXX
SG_ STEER_REQ : 52|1@1+ (1,0) [0|0] "" XXX
SG_ LFA_BUTTON : 56|1@1+ (1,0) [0|0] "" XXX
SG_ LKA_ASSIST : 62|1@1+ (1,0) [0|0] "" XXX
SG_ STEER_MODE : 65|3@1+ (1,0) [0|0] "" XXX
SG_ NEW_SIGNAL_2 : 69|2@1+ (1,0) [0|3] "" XXX
SG_ HAS_LANE_SAFETY : 80|1@1+ (1,0) [0|3] "" XXX
SG_ NEW_SIGNAL_3 : 104|8@1+ (1,0) [0|255] "" XXX

BO_ 81 ADRV_0x51: 32 ADRV
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 384 CAM_0x180: 32 CAMERA
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 385 CAM_0x181: 32 CAMERA
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 386 CAM_0x182: 32 CAMERA
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 387 CAM_0x183: 32 CAMERA
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 388 CAM_0x184: 32 CAMERA
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 389 CAM_0x185: 8 CAMERA
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 438 CAM_0x1b6: 32 CAMERA
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 439 CAM_0x1b7: 32 CAMERA
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 440 CAM_0x1b8: 32 CAMERA
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 441 CAM_0x1b9: 32 CAMERA
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 513 RADAR_0x201: 32 FRONT_RADAR
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 528 RADAR_0x210: 32 FRONT_RADAR
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 529 RADAR_0x211: 32 FRONT_RADAR
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 530 RADAR_0x212: 32 FRONT_RADAR
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 531 RADAR_0x213: 32 FRONT_RADAR
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 532 RADAR_0x214: 32 FRONT_RADAR
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 533 RADAR_0x215: 32 FRONT_RADAR
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 534 RADAR_0x216: 32 FRONT_RADAR
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 535 RADAR_0x217: 32 FRONT_RADAR
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 536 RADAR_0x218: 32 FRONT_RADAR
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 537 RADAR_0x219: 32 FRONT_RADAR
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 538 RADAR_0x21a: 32 FRONT_RADAR
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 539 RADAR_0x21b: 32 FRONT_RADAR
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 540 RADAR_0x21c: 32 FRONT_RADAR
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 541 RADAR_0x21d: 32 FRONT_RADAR
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 542 RADAR_0x21e: 32 FRONT_RADAR
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 543 RADAR_0x21f: 32 FRONT_RADAR
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 576 RADAR_0x240: 16 FRONT_RADAR
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 674 CAM_0x2a2: 32 CAMERA
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 675 CAM_0x2a3: 32 CAMERA
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 676 CAM_0x2a4: 24 XXX
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
SG_ BYTE3 : 24|8@1+ (1,0) [0|255] "" XXX
SG_ BYTE4 : 32|8@1+ (1,0) [0|255] "" XXX
SG_ BYTE5 : 40|8@1+ (1,0) [0|255] "" XXX
SG_ BYTE6 : 48|8@1+ (1,0) [0|255] "" XXX
SG_ LEFT_LANE_LINE : 56|2@1+ (1,0) [0|3] "" XXX
SG_ SET_ME_0 : 58|2@1+ (1,0) [0|3] "" XXX
SG_ RIGHT_LANE_LINE : 60|2@1+ (1,0) [0|3] "" XXX
SG_ SET_ME_0_2 : 62|2@1+ (1,0) [0|3] "" XXX
SG_ BYTE8 : 64|8@1+ (1,0) [0|255] "" XXX
SG_ BYTE9 : 72|8@1+ (1,0) [0|255] "" XXX
SG_ BYTE10 : 80|8@1+ (1,0) [0|255] "" XXX
SG_ BYTE11 : 88|8@1+ (1,0) [0|255] "" XXX
SG_ BYTE12 : 96|8@1+ (1,0) [0|255] "" XXX
SG_ BYTE13 : 104|8@1+ (1,0) [0|255] "" XXX
SG_ BYTE14 : 112|8@1+ (1,0) [0|255] "" XXX
SG_ BYTE15 : 120|8@1+ (1,0) [0|255] "" XXX
SG_ BYTE16 : 128|8@1+ (1,0) [0|255] "" XXX
SG_ BYTE17 : 136|8@1+ (1,0) [0|255] "" XXX
SG_ BYTE18 : 144|8@1+ (1,0) [0|255] "" XXX
SG_ BYTE19 : 152|8@1+ (1,0) [0|255] "" XXX
SG_ BYTE20 : 160|8@1+ (1,0) [0|255] "" XXX
SG_ BYTE21 : 168|8@1+ (1,0) [0|255] "" XXX
SG_ BYTE22 : 176|8@1+ (1,0) [0|255] "" XXX
SG_ BYTE23 : 184|8@1+ (1,0) [0|255] "" XXX

BO_ 699 CAM_0x2bb: 32 CAMERA
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 700 CAM_0x2bc: 32 CAMERA
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 701 CAM_0x2bd: 32 CAMERA
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

BO_ 702 CAM_0x2be: 32 CAMERA
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX

CM_ 676 "Contains signals with detailed lane line information. Used by ADAS ECU on HDA 2 vehicles to operate LFA.";

CM_ SG_ 80 HAS_LANE_SAFETY "If 0, hides LKAS 'Lane Safety' menu from vehicle settings";
CM_ SG_ 676 LEFT_LANE_LINE "Left lane line confidence";
CM_ SG_ 676 RIGHT_LANE_LINE "Right lane line confidence";
VAL_ 80 LKA_ICON 0 "hidden" 1 "grey" 2 "green" 3 "flashing green" ;
VAL_ 80 LKA_MODE 1 "warning only" 2 "assist" 6 "off" ;
VAL_ 676 LEFT_LANE_LINE 0 "Not Detected" 1 "Low Confidence" 2 "Medium Confidence" 3 "High Confidence";
VAL_ 676 RIGHT_LANE_LINE 0 "Not Detected" 1 "Low Confidence" 2 "Medium Confidence" 3 "High Confidence";
Loading
Loading