Skip to content

Commit 5f42439

Browse files
committed
Toyota Prius: added a comma specific message to control the speed sent to the EPS
1 parent 6f5e8b6 commit 5f42439

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

generator/toyota/_comma.dbc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
BO_ 512 EPS_INTERCEPTOR: 2 EON
2+
SG_ SPEED_NULLER : 7|1@0+ (1,0) [0|1] "" XXX
3+
SG_ CHECKSUM : 15|8@0+ (1,0) [0|255] "" XXX

generator/toyota/toyota_prius_2017_pt.dbc

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
CM_ "IMPORT _toyota_2017.dbc"
2+
CM_ "IMPORT _comma.dbc"
23

34
BO_ 295 GEAR_PACKET: 8 XXX
45
SG_ CAR_MOVEMENT : 39|8@0- (1,0) [0|255] "" XXX

toyota_prius_2017_pt_generated.dbc

+7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
CM_ "AUTOGENERATED FILE, DO NOT EDIT"
22

33

4+
CM_ "Imported file _comma.dbc starts here"
5+
BO_ 512 EPS_INTERCEPTOR: 2 EON
6+
SG_ SPEED_NULLER : 7|1@0+ (1,0) [0|1] "" XXX
7+
SG_ CHECKSUM : 15|8@0+ (1,0) [0|255] "" XXX
8+
9+
410
CM_ "Imported file _toyota_2017.dbc starts here"
511
VERSION ""
612

@@ -195,6 +201,7 @@ CM_ "CHFFR_METRIC 37 STEER_ANGLE STEER_ANGLE 0.36 180";
195201
CM_ "toyota_prius_2017_pt.dbc starts here"
196202

197203

204+
198205
BO_ 295 GEAR_PACKET: 8 XXX
199206
SG_ CAR_MOVEMENT : 39|8@0- (1,0) [0|255] "" XXX
200207
SG_ COUNTER : 55|8@0+ (1,0) [0|255] "" XXX

0 commit comments

Comments
 (0)