From 5f424397b9209526132ed68e1428d1d790f988fa Mon Sep 17 00:00:00 2001 From: Riccardo Date: Mon, 12 Mar 2018 22:11:25 -0700 Subject: [PATCH] Toyota Prius: added a comma specific message to control the speed sent to the EPS --- generator/toyota/_comma.dbc | 3 +++ generator/toyota/toyota_prius_2017_pt.dbc | 1 + toyota_prius_2017_pt_generated.dbc | 7 +++++++ 3 files changed, 11 insertions(+) create mode 100644 generator/toyota/_comma.dbc diff --git a/generator/toyota/_comma.dbc b/generator/toyota/_comma.dbc new file mode 100644 index 00000000000000..242e6dd7ffe36c --- /dev/null +++ b/generator/toyota/_comma.dbc @@ -0,0 +1,3 @@ +BO_ 512 EPS_INTERCEPTOR: 2 EON + SG_ SPEED_NULLER : 7|1@0+ (1,0) [0|1] "" XXX + SG_ CHECKSUM : 15|8@0+ (1,0) [0|255] "" XXX diff --git a/generator/toyota/toyota_prius_2017_pt.dbc b/generator/toyota/toyota_prius_2017_pt.dbc index e6a6ad11453b7c..735387cc77e481 100644 --- a/generator/toyota/toyota_prius_2017_pt.dbc +++ b/generator/toyota/toyota_prius_2017_pt.dbc @@ -1,4 +1,5 @@ CM_ "IMPORT _toyota_2017.dbc" +CM_ "IMPORT _comma.dbc" BO_ 295 GEAR_PACKET: 8 XXX SG_ CAR_MOVEMENT : 39|8@0- (1,0) [0|255] "" XXX diff --git a/toyota_prius_2017_pt_generated.dbc b/toyota_prius_2017_pt_generated.dbc index 9a3289b21c66df..9ed19217898e3c 100644 --- a/toyota_prius_2017_pt_generated.dbc +++ b/toyota_prius_2017_pt_generated.dbc @@ -1,6 +1,12 @@ CM_ "AUTOGENERATED FILE, DO NOT EDIT" +CM_ "Imported file _comma.dbc starts here" +BO_ 512 EPS_INTERCEPTOR: 2 EON + SG_ SPEED_NULLER : 7|1@0+ (1,0) [0|1] "" XXX + SG_ CHECKSUM : 15|8@0+ (1,0) [0|255] "" XXX + + CM_ "Imported file _toyota_2017.dbc starts here" VERSION "" @@ -195,6 +201,7 @@ CM_ "CHFFR_METRIC 37 STEER_ANGLE STEER_ANGLE 0.36 180"; CM_ "toyota_prius_2017_pt.dbc starts here" + BO_ 295 GEAR_PACKET: 8 XXX SG_ CAR_MOVEMENT : 39|8@0- (1,0) [0|255] "" XXX SG_ COUNTER : 55|8@0+ (1,0) [0|255] "" XXX