Skip to content

Commit

Permalink
Hongqi: Add DBC for Hongqi HS5 (#580)
Browse files Browse the repository at this point in the history
  • Loading branch information
jyoung8607 authored Sep 5, 2024
1 parent 1994800 commit 86be858
Showing 1 changed file with 160 additions and 0 deletions.
160 changes: 160 additions & 0 deletions opendbc/dbc/hongqi_hs5.dbc
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
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


BO_ 146 ECM_1: 8 XXX
SG_ CHECKSUM : 0|8@1+ (1,0) [0|255] "" XXX
SG_ THROTTLE_1 : 8|12@1+ (1,0) [0|255] "" XXX
SG_ THROTTLE_2 : 24|8@1+ (1,0) [0|255] "" XXX
SG_ THROTTLE_3 : 32|8@1+ (1,0) [0|255] "" XXX
SG_ DRIVER_THROTTLE : 40|8@1+ (1,0) [0|255] "" XXX
SG_ COUNTER : 60|4@1+ (1,0) [0|15] "" XXX

BO_ 192 ABS_1: 8 XXX
SG_ CHECKSUM : 0|8@1+ (1,0) [0|15] "" XXX
SG_ FRONT_LEFT : 8|16@1+ (0.01,0) [0|65535] "km/h" XXX
SG_ FRONT_RIGHT : 24|16@1+ (0.01,0) [0|65535] "km/h" XXX
SG_ VEHICLE_SPEED : 40|16@1+ (0.01,0) [0|65535] "km/h" XXX
SG_ COUNTER : 60|4@1+ (1,0) [0|15] "" XXX

BO_ 194 ABS_2: 8 XXX
SG_ CHECKSUM : 0|8@1+ (1,0) [0|15] "" XXX
SG_ REAR_LEFT : 8|16@1+ (0.01,0) [0|65535] "km/h" XXX
SG_ REAR_RIGHT : 24|16@1+ (0.01,0) [0|65535] "km/h" XXX
SG_ BRAKE_PRESSURE : 40|8@1+ (1,0) [0|255] "" XXX
SG_ COUNTER : 60|4@1+ (1,0) [0|15] "" XXX

BO_ 208 EPS_1: 8 XXX
SG_ CHECKSUM : 0|8@1+ (1,0) [0|15] "" XXX
SG_ STEER_ANGLE : 8|15@1+ (0.0225,0) [0|65535] "" XXX
SG_ STEER_ANGLE_DIRECTION : 23|1@1+ (1,0) [0|1] "direction" XXX
SG_ STEER_RATE : 24|15@1+ (0.0225,0) [0|65535] "" XXX
SG_ STEER_RATE_DIRECTION : 39|1@1+ (1,0) [0|1] "direction" XXX
SG_ COUNTER : 60|4@1+ (1,0) [0|15] "" XXX

BO_ 336 EPS_2: 8 XXX
SG_ CHECKSUM : 0|8@1+ (1,0) [0|255] "" XXX
SG_ EPS_TORQUE : 8|10@1- (1,0) [0|255] "" XXX
SG_ EPS_TORQUE_DIRECTION : 18|1@1+ (1,0) [0|1] "direction" XXX
SG_ UNKNOWN : 22|2@1+ (1,0) [0|3] "" XXX
SG_ LKAS_STATUS : 24|4@1+ (1,0) [0|15] "" XXX
SG_ DRIVER_INPUT_TORQUE : 32|8@1+ (1,0) [0|255] "" XXX
SG_ LKAS_TORQUE : 40|10@1+ (1,0) [0|1023] "" XXX
SG_ LKAS_TORQUE_DIRECTION : 50|1@1+ (1,0) [0|1] "" XXX
SG_ COUNTER : 60|4@1+ (1,0) [0|15] "" XXX

BO_ 272 ACC: 8 XXX
SG_ CHECKSUM : 0|8@1+ (1,0) [0|255] "" XXX
SG_ UNKNOWN_1 : 8|12@1+ (1,0) [0|4095] "" XXX
SG_ UNKNOWN_2 : 20|4@1+ (1,0) [0|15] "" XXX
SG_ ACCELERATION : 24|12@1+ (1,-300) [0|255] "" XXX
SG_ STATUS : 36|4@1+ (1,0) [0|31] "x" XXX
SG_ UNKNOWN_3 : 46|1@1+ (1,0) [0|1] "" XXX
SG_ COUNTER : 60|4@1+ (1,0) [0|15] "" XXX

BO_ 274 LKAS: 8 XXX
SG_ CHECKSUM : 0|8@1+ (1,0) [0|255] "" XXX
SG_ LKAS_TORQUE : 8|10@1+ (1,0) [0|2047] "x" XXX
SG_ LKAS_TORQUE_DIRECTION : 18|1@1+ (1,0) [0|1] "" XXX
SG_ LKAS_TORQUE_ACTIVE : 19|1@1+ (1,0) [0|1] "" XXX
SG_ UNKNOWN_ACTIVE_STATE : 26|1@1+ (1,0) [0|1] "" XXX
SG_ MAYBE_HUD_LANE_STATES : 28|2@1+ (1,0) [0|3] "" XXX
SG_ LKAS_ACTIVE : 32|1@1+ (1,0) [0|255] "" XXX
SG_ COUNTER : 60|4@1+ (1,0) [0|15] "" XXX

BO_ 148 MAYBE_ABS: 8 XXX
SG_ CHECKSUM : 0|8@1+ (1,0) [0|255] "" XXX
SG_ UNKNOWN_1 : 8|16@1+ (1,0) [0|15] "x" XXX
SG_ UNKNOWN_2 : 24|8@1+ (1,0) [0|255] "" XXX
SG_ BRAKE_PRESSED : 35|1@1+ (1,0) [0|1] "x" XXX
SG_ UNKNOWN_3 : 46|2@1+ (1,0) [0|3] "" XXX
SG_ COUNTER : 60|4@1+ (1,0) [0|15] "" XXX

BO_ 304 ABS_3: 8 XXX
SG_ CHECKSUM : 0|8@1+ (1,0) [0|15] "" XXX
SG_ NEW_SIGNAL_1 : 15|8@1+ (1,0) [0|255] "" XXX
SG_ NEW_SIGNAL_2 : 23|8@1+ (1,0) [0|255] "" XXX
SG_ NEW_SIGNAL_3 : 31|8@1+ (1,0) [0|255] "" XXX
SG_ NEW_SIGNAL_4 : 39|8@1+ (1,0) [0|255] "" XXX
SG_ NEW_SIGNAL_5 : 47|8@1+ (1,0) [0|255] "" XXX
SG_ DRIVER_BRAKE_PRESSURE : 48|12@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 60|4@1+ (1,0) [0|15] "" XXX

BO_ 144 MAYBE_ENGINE: 8 XXX
SG_ CHECKSUM : 0|8@1+ (1,0) [0|255] "" XXX
SG_ NEW_SIGNAL_4 : 8|12@1+ (1,0) [0|255] "" XXX
SG_ MAYBE_RPM : 20|12@1+ (1,0) [0|15] "" XXX
SG_ NEW_SIGNAL_1 : 32|8@1+ (1,0) [0|255] "" XXX
SG_ NEW_SIGNAL_2 : 46|14@1+ (1,0) [0|4095] "" XXX
SG_ COUNTER : 60|4@1+ (1,0) [0|15] "" XXX

BO_ 422 MAYBE_ACC_BUTTONS: 8 XXX
SG_ NEW_SIGNAL_1 : 18|1@0+ (1,0) [0|1] "" XXX

BO_ 560 TURN_SIGNALS: 8 XXX
SG_ RIGHT_TURN_SIGNALING : 45|1@1+ (1,0) [0|1] "" XXX
SG_ LEFT_TURN_SIGNALING : 44|1@1+ (1,0) [0|1] "" XXX
SG_ RIGHT_TURN_BULB_3 : 21|1@1+ (1,0) [0|1] "" XXX
SG_ LEFT_TURN_BULB_3 : 20|1@1+ (1,0) [0|1] "" XXX
SG_ RIGHT_TURN_BULB_2 : 19|1@1+ (1,0) [0|1] "" XXX
SG_ LEFT_TURN_BULB_2 : 18|1@1+ (1,0) [0|1] "" XXX
SG_ LEFT_TURN_BULB_1 : 16|1@1+ (1,0) [0|1] "" XXX
SG_ RIGHT_TURN_BULB_1 : 17|1@1+ (1,0) [0|1] "" XXX

BO_ 586 DOOR_FL: 8 XXX
SG_ OPEN : 2|1@1+ (1,0) [0|1] "" XXX

BO_ 588 DOOR_FR: 8 XXX
SG_ OPEN : 2|1@1+ (1,0) [0|1] "" XXX

BO_ 590 DOOR_RL: 8 XXX
SG_ OPEN : 2|1@1+ (1,0) [0|1] "" XXX

BO_ 591 DOOR_RR: 8 XXX
SG_ OPEN : 2|1@1+ (1,0) [0|1] "" XXX




CM_ SG_ 274 UNKNOWN_ACTIVE_STATE "Triggers changes from 8 to 9 in EPS_2.LKAS_STATUS";
CM_ SG_ 560 RIGHT_TURN_SIGNALING "Includes 2.5 second convenience lane change interval";
CM_ SG_ 560 LEFT_TURN_SIGNALING "Includes 2.5 second convenience lane change interval";
VAL_ 336 LKAS_STATUS 1 "INITIALIZING" 5 "READY" 8 "ACTIVE_1" 9 "ACTIVE_2" 13 "FAULT" ;
VAL_ 586 OPEN 0 "CLOSED" 1 "OPEN" ;
VAL_ 588 OPEN 0 "CLOSED" 1 "OPEN" ;
VAL_ 590 OPEN 0 "CLOSED" 1 "OPEN" ;
VAL_ 591 OPEN 0 "CLOSED" 1 "OPEN" ;

0 comments on commit 86be858

Please sign in to comment.