Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
22 changes: 18 additions & 4 deletions opendbc/dbc/generator/honda/_honda_common.dbc
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
BO_ 145 KINEMATICS_ALT: 8 XXX
SG_ LAT_ACCEL : 7|10@0+ (0.02,-512) [-20|20] "m/s2" EON
SG_ LAT_ACCEL : 7|10@0+ (0.02,-10) [-20|20] "m/s2" EON
SG_ PITCH_ACCEL : 19|11@0+ (0.02,-20) [-20|20] "m/s2" EON
SG_ LONG_ACCEL : 24|9@0- (-0.02,0) [-20|20] "m/s2" EON
SG_ COUNTER : 61|2@0+ (1,0) [0|3] "" EON
SG_ CHECKSUM : 59|4@0+ (1,0) [0|3] "" EON

BO_ 148 KINEMATICS: 8 XXX
SG_ LAT_ACCEL : 7|10@0+ (0.02,-512) [-20|20] "m/s2" EON
SG_ LAT_ACCEL : 7|10@0+ (0.02,-10) [-20|20] "m/s2" EON
SG_ PITCH_ACCEL : 19|11@0+ (0.02,-20) [-20|20] "m/s2" EON
SG_ LONG_ACCEL : 24|9@0- (-0.02,0) [-20|20] "m/s2" EON
SG_ CHECKSUM : 59|4@0+ (1,0) [0|3] "" EON
SG_ COUNTER : 61|2@0+ (1,0) [0|3] "" EON
SG_ CHECKSUM : 59|4@0+ (1,0) [0|3] "" EON

BO_ 304 GAS_PEDAL_2: 8 PCM
SG_ ENGINE_TORQUE_ESTIMATE : 7|16@0- (1,0) [-1000|1000] "Nm" EON
SG_ ENGINE_TORQUE_REQUEST : 23|16@0- (1,0) [-1000|1000] "Nm" EON
SG_ CAR_GAS : 39|8@0+ (1,0) [0|255] "" EON
SG_ USER_GAS_PRESSED : 44|1@0+ (1,0) [0|1] "" EON
SG_ COUNTER : 61|2@0+ (1,0) [0|3] "" EON
SG_ CHECKSUM : 59|4@0+ (1,0) [0|15] "" EON

Expand Down Expand Up @@ -79,6 +83,11 @@ BO_ 464 WHEEL_SPEEDS: 8 VSA
SG_ WHEEL_SPEED_RR : 42|15@0+ (0.01,0) [0|250] "kph" EON
SG_ CHECKSUM : 59|4@0+ (1,0) [0|3] "" EON

BO_ 476 ENGINE_DATA_2: 7 XXX
SG_ ENGINE_RPM_2 : 12|13@0+ (1,0) [0|8191] "" XXX
SG_ CHECKSUM : 51|4@0+ (1,0) [0|1] "" XXX
SG_ COUNTER : 53|2@0+ (1,0) [0|3] "" XXX

BO_ 490 VEHICLE_DYNAMICS: 8 VSA
SG_ LAT_ACCEL : 7|16@0- (0.0015,0) [-20|20] "m/s2" EON
SG_ LONG_ACCEL : 23|16@0- (0.0015,0) [-20|20] "m/s2" EON
Expand All @@ -95,6 +104,7 @@ BO_ 597 ROUGH_WHEEL_SPEED: 8 VSA
SG_ LONG_COUNTER : 55|8@0+ (1,0) [0|255] "" EON
SG_ CHECKSUM : 59|4@0+ (1,0) [0|15] "" EON
SG_ COUNTER : 61|2@0+ (1,0) [0|3] "" EON
SG_ COUNTER_2 : 63|2@0+ (1,0) [0|3] "" EON

BO_ 773 SEATBELT_STATUS: 7 BDY
SG_ SEATBELT_DRIVER_LAMP : 7|1@0+ (1,0) [0|1] "" EON
Expand Down Expand Up @@ -165,6 +175,8 @@ BO_ 862 CAMERA_MESSAGES: 8 CAM
SG_ COUNTER : 61|2@0+ (1,0) [0|3] "" XXX

BO_ 884 STALK_STATUS: 8 XXX
SG_ CABIN_TEMP : 0|7@1+ (1,0) [0|127] "farenheit" EON
SG_ LIGHT_SENSOR : 14|1@0+ (1,0) [0|1] "" EON
SG_ DASHBOARD_ALERT : 39|8@0+ (1,0) [0|255] "" EON
SG_ AUTO_HEADLIGHTS : 46|1@0+ (1,0) [0|1] "" EON
SG_ HIGH_BEAM_HOLD : 47|1@0+ (1,0) [0|1] "" EON
Expand Down Expand Up @@ -206,9 +218,11 @@ CM_ SG_ 780 CRUISE_SPEED "255 = no speed";
CM_ SG_ 780 PCM_SPEED "Used by Nidec";
CM_ SG_ 780 PCM_GAS "Used by Nidec";
CM_ SG_ 804 CRUISE_SPEED_PCM "255 = no speed";
CM_ SG_ 884 LIGHT_SENSOR "1 when in garage, 0 when outdoors in sunlight"


VAL_ 450 EPB_STATE 3 "engaged" 2 "disengaging" 1 "engaging" 0 "disengaged" ;
VAL_ 780 CRUISE_SPEED 255 "no_speed" 252 "stopped";
VAL_ 780 HUD_LEAD 3 "acc_off" 2 "solid_car" 1 "dashed_car" 0 "no_car";
VAL_ 884 DASHBOARD_ALERT 0 "none" 51 "acc_problem" 55 "cmbs_problem" 75 "key_not_detected" 79 "fasten_seatbelt" 111 "lkas_problem" 131 "brake_system_problem" 132 "brake_hold_problem" 139 "tbd" 161 "door_open";
VAL_ 884 DASHBOARD_ALERT 0 "none" 7 "fuel_low" 51 "acc_problem" 55 "cmbs_problem" 75 "key_not_detected" 79 "fasten_seatbelt" 111 "lkas_problem" 131 "brake_system_problem" 132 "brake_hold_problem" 139 "tbd" 161 "door_open";
VAL_ 891 WIPERS 4 "High" 2 "Low" 0 "Off";
2 changes: 2 additions & 0 deletions opendbc/dbc/generator/honda/_lkas_hud_5byte.dbc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ BO_ 829 LKAS_HUD: 5 ADAS
SG_ RDM_PROBLEM : 21|1@0+ (1,0) [0|1] "" BDY
SG_ RDM_HUD : 9|1@0+ (1,0) [0|1] "" BDY
SG_ RDM_HUD_2 : 23|1@0+ (1,0) [0|1] "" XXX
SG_ RDM_SETTING : 25|2@0+ (1,0) [0|3] "" XXX
SG_ RDM_OFF : 27|1@0+ (1,0) [0|1] "" BDY
SG_ RDM_ON : 20|1@0+ (1,0) [0|1] "" XXX
SG_ RDM_ON_2 : 28|1@0+ (1,0) [0|1] "" BDY
Expand All @@ -26,3 +27,4 @@ CM_ SG_ 829 CAM_TEMP_HIGH "Some Driver Assist Systems Cannot Operate: Camera Tem
CM_ SG_ 829 CAMERA_OVERHEAT "Lane Keeping Assist Cannot Operate: Camera Too Hot";

VAL_ 829 BEEP 5 "solid_beep" 4 "double_beep" 3 "single_beep" 2 "triple_beep" 1 "repeated_beep" 0 "no_beep";
VAL_ 829 RDM_SETTING 0 "normal" 1 "wide" 2 "warning_only";
2 changes: 2 additions & 0 deletions opendbc/dbc/generator/honda/_nidec_scm_group_b.dbc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ BO_ 662 SCM_BUTTONS: 4 SCM
SG_ COUNTER : 29|2@0+ (1,0) [0|3] "" EON

BO_ 806 SCM_FEEDBACK: 8 SCM
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is another one we should consolidate, _nidec_scm_group_b is the same thing as Bosch, needs a round of generator cleanup. Same as KINEMATICS, just got done doing a bunch of generator cleanup and want to avoid adding new drift/rot where every car's version of that message ends up being slightly different. I'll do the cleanup myself at some point if you don't have time.

SG_ BOH_DIF_1 : 5|6@0+ (1,0) [0|63] "" XXX
SG_ BOH_DIF_2 : 14|7@0+ (1,0) [0|127] "" XXX
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These seem to be a differential pair to each other

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can just remove this. I don't have any idea what it may be. Can add back in after further clean up

SG_ DRIVERS_DOOR_OPEN : 17|1@0+ (1,0) [0|1] "" XXX
SG_ REVERSE_LIGHT : 18|1@0+ (1,0) [0|1] "" EON
SG_ CMBS_BUTTON : 22|2@0+ (1,0) [0|3] "" EON
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ BO_ 493 HUD_SETTING: 5 XXX
SG_ IMPERIAL_UNIT : 5|1@0+ (1,0) [0|1] "" EON

BO_ 545 ECON_STATUS: 6 XXX
SG_ TEMP_BOH : 0|6@1+ (1,0) [0|63] "" EON
SG_ ECON_ON_2 : 37|2@0+ (1,0) [0|3] "" EON
SG_ ECON_ON : 23|1@0+ (1,0) [0|1] "" EON
SG_ CHECKSUM : 43|4@0+ (1,0) [0|3] "" EON
Expand Down