Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
mlocoteta committed Jul 17, 2024
1 parent adc1fff commit 8b588ef
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 23 deletions.
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ repos:
- --force
- --quiet
- -j4
- repo: local
hooks:
- id: generator
name: dbc generator
entry: generator/test_generator.py
language: script
pass_filenames: false
# - repo: local
# hooks:
# - id: generator
# name: dbc generator
# entry: generator/test_generator.py
# language: script
# pass_filenames: false
8 changes: 4 additions & 4 deletions honda_accord_touring_2016_can_generated.dbc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CM_ "AUTOGENERATED FILE, DO NOT EDIT";


CM_ "Imported file _comma.dbc starts here";
CM_ "Imported file _community.dbc starts here";
BO_ 512 GAS_COMMAND: 6 EON
SG_ GAS_COMMAND : 7|16@0+ (0.253984064,-83.3) [0|1] "" INTERCEPTOR
SG_ GAS_COMMAND2 : 23|16@0+ (0.126992032,-83.3) [0|1] "" INTERCEPTOR
Expand Down Expand Up @@ -298,7 +298,7 @@ BO_ 228 STEERING_CONTROL: 5 ADAS
SG_ STEER_TORQUE : 7|16@0- (1,0) [-3840|3840] "" EPS
SG_ TORQUE_BLEND_DISABLE : 16|1@0+ (1,0) [0|1] "" XXX
SG_ TX_ALL_LKAS_DATA : 17|1@0+ (1,0) [0|1] "" XXX

BO_ 400 STEER_STATUS: 5 EPS
SG_ STEER_TORQUE_SENSOR : 0|9@1- (1,0) [-256|256] "" XXX
SG_ LIN_INTERFACE_FATAL_ERROR : 10|1@0+ (1,0) [0|1] "" XXX
Expand All @@ -308,7 +308,7 @@ BO_ 400 STEER_STATUS: 5 EPS
SG_ COUNTER : 37|2@0+ (1,0) [0|3] "" XXX
SG_ LKAS_ALLOWED : 9|1@0+ (1,0) [0|1] "" XXX
SG_ STEER_APPLIED : 23|16@0- (1,0) [0|511] "" XXX

BO_ 401 GEARBOX: 8 PCM
SG_ GEAR_SHIFTER : 5|6@0+ (1,0) [0|63] "" NEO
SG_ GEAR : 35|4@0+ (1,0) [0|15] "" NEO
Expand Down Expand Up @@ -360,6 +360,6 @@ BO_ 927 ACC_HUD_2: 8 ADAS
SG_ COUNTER : 61|2@0+ (1,0) [0|3] "" XXX
SG_ CHECKSUM : 59|4@0+ (1,0) [0|15] "" XXX

VAL_ 400 STEER_STATUS 6 "tmp_fault" 5 "fault_1" 4 "no_torque_alert_2" 3 "low_speed_lockout" 2 "no_torque_alert_1" 0 "normal" ;
VAL_ 400 STEER_STATUS 6 "tmp_fault" 5 "fault_1" 4 "no_torque_alert_2" 3 "low_speed_lockout" 2 "no_torque_alert_1" 0 "normal" ;
VAL_ 401 GEAR_SHIFTER 32 "L" 16 "S" 8 "D" 4 "N" 2 "R" 1 "P" ;
CM_ "CHFFR_METRIC 342 STEER_ANGLE STEER_ANGLE 0.36 180; CHFFR_METRIC 380 ENGINE_RPM ENGINE_RPM 1 0; CHFFR_METRIC 804 ENGINE_TEMPERATURE ENGINE_TEMPERATURE 1 0";
8 changes: 4 additions & 4 deletions honda_accord_touring_V6_2016_can_generated.dbc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CM_ "AUTOGENERATED FILE, DO NOT EDIT";


CM_ "Imported file _comma.dbc starts here";
CM_ "Imported file _community.dbc starts here";
BO_ 512 GAS_COMMAND: 6 EON
SG_ GAS_COMMAND : 7|16@0+ (0.253984064,-83.3) [0|1] "" INTERCEPTOR
SG_ GAS_COMMAND2 : 23|16@0+ (0.126992032,-83.3) [0|1] "" INTERCEPTOR
Expand Down Expand Up @@ -298,7 +298,7 @@ BO_ 228 STEERING_CONTROL: 5 ADAS
SG_ STEER_TORQUE : 7|16@0- (1,0) [-3840|3840] "" EPS
SG_ TORQUE_BLEND_DISABLE : 16|1@0+ (1,0) [0|1] "" XXX
SG_ TX_ALL_LKAS_DATA : 17|1@0+ (1,0) [0|1] "" XXX

BO_ 392 GEARBOX: 6 PCM
SG_ GEAR : 5|6@0+ (1,0) [0|63] "" NEO
SG_ GEAR_SHIFTER : 35|4@0+ (1,0) [0|15] "" NEO
Expand All @@ -314,7 +314,7 @@ BO_ 400 STEER_STATUS: 5 EPS
SG_ COUNTER : 37|2@0+ (1,0) [0|3] "" XXX
SG_ LKAS_ALLOWED : 9|1@0+ (1,0) [0|1] "" XXX
SG_ STEER_APPLIED : 23|16@0- (1,0) [0|511] "" XXX

BO_ 422 SCM_BUTTONS: 8 SCM
SG_ CRUISE_BUTTONS : 7|3@0+ (1,0) [0|7] "" NEO
SG_ LIGHTS_SETTING : 1|2@0+ (1,0) [0|3] "" NEO
Expand Down Expand Up @@ -360,6 +360,6 @@ BO_ 927 ACC_HUD_2: 8 ADAS
SG_ COUNTER : 61|2@0+ (1,0) [0|3] "" XXX
SG_ CHECKSUM : 59|4@0+ (1,0) [0|15] "" XXX

VAL_ 400 STEER_STATUS 6 "tmp_fault" 5 "fault_1" 4 "no_torque_alert_2" 3 "low_speed_lockout" 2 "no_torque_alert_1" 0 "normal" ;
VAL_ 400 STEER_STATUS 6 "tmp_fault" 5 "fault_1" 4 "no_torque_alert_2" 3 "low_speed_lockout" 2 "no_torque_alert_1" 0 "normal" ;
VAL_ 392 GEAR_SHIFTER 6 "L" 5 "S" 4 "D" 3 "N" 2 "R" 1 "P" ;
CM_ "CHFFR_METRIC 342 STEER_ANGLE STEER_ANGLE 0.36 180; CHFFR_METRIC 380 ENGINE_RPM ENGINE_RPM 1 0; CHFFR_METRIC 804 ENGINE_TEMPERATURE ENGINE_TEMPERATURE 1 0";
16 changes: 8 additions & 8 deletions honda_accord_touring_hybrid_2017_can_generated.dbc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CM_ "AUTOGENERATED FILE, DO NOT EDIT";


CM_ "Imported file _comma.dbc starts here";
CM_ "Imported file _community.dbc starts here";
BO_ 512 GAS_COMMAND: 6 EON
SG_ GAS_COMMAND : 7|16@0+ (0.253984064,-83.3) [0|1] "" INTERCEPTOR
SG_ GAS_COMMAND2 : 23|16@0+ (0.126992032,-83.3) [0|1] "" INTERCEPTOR
Expand Down Expand Up @@ -212,9 +212,9 @@ BO_ 487 BRAKE_PRESSURE: 4 VSA
SG_ COUNTER : 29|2@0+ (1,0) [0|3] "" EON

BO_ 506 BRAKE_COMMAND: 8 ADAS
SG_ COMPUTER_BRAKE_DEFAULT : 7|10@0+ (1,0) [0|1] "" EBCM
SG_ BRAKE_PUMP_REQUEST_DEFAULT : 8|1@0+ (1,0) [0|1] "" EBCM
SG_ BRAKE_PUMP_REQUEST : 11|1@0+ (1,0) [0|1] "" EBCM
SG_ COMPUTER_BRAKE : 7|10@0+ (1,0) [0|1] "" EBCM
SG_ BRAKE_PUMP_REQUEST : 8|1@0+ (1,0) [0|1] "" EBCM
SG_ BRAKE_PUMP_REQUEST_ALT : 11|1@0+ (1,0) [0|1] "" EBCM
SG_ SET_ME_X00 : 23|3@0+ (1,0) [0|1] "" EBCM
SG_ CRUISE_OVERRIDE : 20|1@0+ (1,0) [0|1] "" EBCM
SG_ SET_ME_X00_2 : 19|1@0+ (1,0) [0|1] "" EBCM
Expand All @@ -230,7 +230,7 @@ BO_ 506 BRAKE_COMMAND: 8 ADAS
SG_ SET_ME_X00_3 : 44|1@0+ (1,0) [0|1] "" EBCM
SG_ FCW : 43|2@0+ (1,0) [0|3] "" EBCM
SG_ AEB_STATUS : 41|2@0+ (1,0) [0|3] "" XXX
SG_ COMPUTER_BRAKE : 55|10@0+ (1,0) [0|0] "" EBCM
SG_ COMPUTER_BRAKE_ALT : 55|10@0+ (1,0) [0|0] "" EBCM
SG_ COUNTER : 61|2@0+ (1,0) [0|3] "" EBCM
SG_ CHECKSUM : 59|4@0+ (1,0) [0|15] "" EBCM

Expand All @@ -255,7 +255,7 @@ BO_ 829 LKAS_HUD: 5 ADAS
SG_ SOLID_LANES : 10|1@0+ (1,0) [0|1] "" BDY
SG_ LDW_RIGHT : 9|1@0+ (1,0) [0|1] "" BDY
SG_ STEERING_REQUIRED : 8|1@0+ (1,0) [0|1] "" BDY
SG_ BOH : 23|2@0+ (1,0) [0|4] "" BDY
SG_ BOH2 : 23|2@0+ (1,0) [0|4] "" BDY
SG_ LDW_PROBLEM : 21|1@0+ (1,0) [0|1] "" BDY
SG_ BEEP : 17|2@0+ (1,0) [0|1] "" BDY
SG_ LDW_ON : 28|1@0+ (1,0) [0|1] "" BDY
Expand Down Expand Up @@ -314,15 +314,15 @@ BO_ 400 STEER_STATUS: 5 EPS
SG_ COUNTER : 37|2@0+ (1,0) [0|3] "" XXX
SG_ LKAS_ALLOWED : 9|1@0+ (1,0) [0|1] "" XXX
SG_ STEER_APPLIED : 23|16@0- (1,0) [0|511] "" XXX

BO_ 422 SCM_BUTTONS: 8 SCM
SG_ CRUISE_BUTTONS : 7|3@0+ (1,0) [0|7] "" NEO
SG_ LIGHTS_SETTING : 1|2@0+ (1,0) [0|3] "" NEO
SG_ MAIN_ON : 47|1@0+ (1,0) [0|1] "" NEO
SG_ CRUISE_SETTING : 43|2@0+ (1,0) [0|3] "" NEO
SG_ COUNTER : 61|2@0+ (1,0) [0|3] "" NEO
SG_ CHECKSUM : 59|4@0+ (1,0) [0|15] "" NEO

BO_ 520 SS_STATUS: 3 XXX
SG_ VERSION_NUM : 0|4@1+ (1,0) [0|15] "" XXX
SG_ HARDWARE_REV : 7|4@0+ (1,0) [0|15] "" XXX
Expand Down

0 comments on commit 8b588ef

Please sign in to comment.