forked from commaai/openpilot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request commaai#62 from xx979xx/7.3
7.3
- Loading branch information
Showing
94 changed files
with
3,187 additions
and
1,484 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Tests | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
|
||
runs-on: ubuntu-16.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build docker image | ||
run: docker build -t cereal . | ||
- name: Unit Tests | ||
run: | | ||
docker run cereal bash -c "scons --test --asan -j$(nproc) && messaging/test_runner" | ||
- name: Test ZMQ | ||
run: | | ||
docker run cereal bash -c "ZMQ=1 python -m unittest discover ." | ||
- name: Test MSGQ | ||
run: | | ||
docker run cereal bash -c "MSGQ=1 python -m unittest discover ." | ||
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -489,5 +489,6 @@ struct CarParams { | |
enum FingerprintSource { | ||
can @0; | ||
fw @1; | ||
fixed @2; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Tests | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-16.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: | | ||
set -e | ||
docker build -t opendbc . | ||
name: "Build" | ||
- run: | | ||
docker run opendbc bash -c "python -m unittest discover opendbc" | ||
name: "Unit tests" | ||
- run: | | ||
docker run opendbc bash -c "cd opendbc/can/tests/linter_python; PYTHONPATH=/ ./flake8_opendbc.sh" | ||
docker run opendbc bash -c "cd opendbc/can/tests/linter_python; PYTHONPATH=/ ./pylint_opendbc.sh" | ||
name: "Python linter" | ||
- run: | | ||
docker run opendbc bash -c "cd opendbc/can/tests/; PYTHONPATH=/ ./test_generator.sh" | ||
name: "Generator test" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
opendbc/generator/honda/honda_civic_hatchback_ex_2017_can.dbc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
opendbc/generator/honda/honda_civic_sedan_16_diesel_2019_can.dbc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
CM_ "IMPORT _bosch_2018.dbc" | ||
|
||
BO_ 316 GAS_PEDAL_2: 8 XXX | ||
SG_ CAR_GAS : 39|8@0+ (1,0) [0|255] "" XXX | ||
SG_ COUNTER : 61|2@0+ (1,0) [0|3] "" XXX | ||
SG_ CHECKSUM : 59|4@0+ (1,0) [0|15] "" XXX | ||
|
||
BO_ 419 GEARBOX: 8 XXX | ||
SG_ GEAR_SHIFTER : 24|8@1+ (1,0) [0|255] "" XXX | ||
SG_ GEAR : 32|8@1+ (1,0) [0|255] "" XXX | ||
SG_ COUNTER : 61|2@0+ (1,0) [0|3] "" XXX | ||
SG_ CHECKSUM : 59|4@0+ (1,0) [0|15] "" XXX | ||
|
||
BO_ 432 STANDSTILL: 7 VSA | ||
SG_ WHEELS_MOVING : 12|1@0+ (1,0) [0|1] "" EON | ||
SG_ BRAKE_ERROR_1 : 11|1@0+ (1,0) [0|1] "" EON | ||
SG_ BRAKE_ERROR_2 : 9|1@0+ (1,0) [0|1] "" EON | ||
SG_ COUNTER : 53|2@0+ (1,0) [0|3] "" EON | ||
SG_ CHECKSUM : 51|4@0+ (1,0) [0|15] "" EON | ||
|
||
BO_ 892 CRUISE_PARAMS: 8 PCM | ||
SG_ CRUISE_SPEED_OFFSET : 31|8@0- (0.1,0) [-128|127] "kph" EON | ||
SG_ CHECKSUM : 59|4@0+ (1,0) [0|3] "" EON | ||
SG_ COUNTER : 61|2@0+ (1,0) [0|15] "" EON | ||
|
||
BO_ 927 RADAR_HUD: 8 RADAR | ||
SG_ ZEROS_BOH : 7|10@0+ (1,0) [0|127] "" BDY | ||
SG_ CMBS_OFF : 12|1@0+ (1,0) [0|1] "" BDY | ||
SG_ ZEROS_BOH3 : 31|32@0+ (1,0) [0|4294967295] "" XXX | ||
SG_ RESUME_INSTRUCTION : 21|1@0+ (1,0) [0|1] "" XXX | ||
SG_ SET_TO_1 : 13|1@0+ (1,0) [0|1] "" BDY | ||
SG_ ZEROS_BOH2 : 11|4@0+ (1,0) [0|1] "" XXX | ||
SG_ APPLY_BRAKES_FOR_CANC : 23|1@0+ (1,0) [0|1] "" XXX | ||
SG_ ACC_ALERTS : 20|5@0+ (1,0) [0|1] "" BDY | ||
SG_ SET_TO_0 : 22|1@0+ (1,0) [0|1] "" XXX | ||
SG_ COUNTER : 61|2@0+ (1,0) [0|3] "" XXX | ||
SG_ CHECKSUM : 59|4@0+ (1,0) [0|15] "" XXX | ||
|
||
BO_ 1029 DOORS_STATUS: 8 BDY | ||
SG_ DOOR_OPEN_FL : 37|1@0+ (1,0) [0|1] "" EON | ||
SG_ DOOR_OPEN_FR : 38|1@0+ (1,0) [0|1] "" EON | ||
SG_ DOOR_OPEN_RL : 39|1@0+ (1,0) [0|1] "" EON | ||
SG_ DOOR_OPEN_RR : 40|1@0+ (1,0) [0|1] "" EON | ||
SG_ TRUNK_OPEN : 41|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 | ||
|
||
VAL_ 419 GEAR_SHIFTER 2 "S" 32 "D" 16 "N" 8 "R" 4 "P" ; | ||
VAL_ 419 GEAR 26 "S" 20 "D" 19 "N" 18 "R" 17 "P" ; | ||
VAL_ 545 ECON_ON_2 0 "off" 3 "on" ; | ||
VAL_ 662 CRUISE_BUTTONS 7 "tbd" 6 "tbd" 5 "tbd" 4 "accel_res" 3 "decel_set" 2 "cancel" 1 "main" 0 "none" ; | ||
VAL_ 662 CRUISE_SETTING 3 "distance_adj" 2 "tbd" 1 "lkas_button" 0 "none" ; | ||
VAL_ 806 CMBS_BUTTON 3 "pressed" 0 "released" ; | ||
VAL_ 891 WIPERS 4 "High" 2 "Low" 0 "Off" ; | ||
VAL_ 829 BEEP 3 "single_beep" 2 "triple_beep" 1 "repeated_beep" 0 "no_beep" ; | ||
|
||
CM_ "CHFFR_METRIC 330 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"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.