Skip to content

Commit 23b15a7

Browse files
authored
Subaru: add additional steering angle and clutch depressed (commaai#3051)
add clutch and angle
1 parent 6ba695c commit 23b15a7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

opendbc/dbc/generator/subaru/_subaru_global.dbc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ BO_ 64 Throttle: 8 XXX
4646
SG_ COUNTER : 8|4@1+ (1,0) [0|15] "" XXX
4747
SG_ Signal1 : 12|4@1+ (1,0) [0|15] "" XXX
4848
SG_ Engine_RPM : 16|13@1+ (1,0) [0|8191] "" XXX
49-
SG_ Neutral : 31|1@1+ (1,0) [0|15] "" XXX
49+
SG_ Neutral : 31|1@1+ (1,0) [0|1] "" XXX
5050
SG_ Throttle_Pedal : 32|8@1+ (1,0) [0|255] "" XXX
5151
SG_ Throttle_Cruise : 40|8@1+ (1,0) [0|255] "" XXX
5252
SG_ Throttle_Combo : 48|8@1+ (1,0) [0|255] "" XXX
@@ -110,6 +110,7 @@ BO_ 282 Steering_2: 8 XXX
110110
BO_ 312 Brake_Pressure_L_R: 8 XXX
111111
SG_ CHECKSUM : 0|8@1+ (1,0) [0|255] "" XXX
112112
SG_ COUNTER : 8|4@1+ (1,0) [0|15] "" XXX
113+
SG_ Steering_Angle : 16|16@1- (-0.1,0) [-3276.8|3276.7] "" XXX
113114
SG_ Brake_1 : 48|8@1+ (1,0) [0|255] "" XXX
114115
SG_ Brake_2 : 56|8@1+ (1,0) [0|255] "" XXX
115116

@@ -158,6 +159,7 @@ BO_ 544 ES_Brake: 8 XXX
158159
BO_ 577 Cruise_Status: 8 XXX
159160
SG_ CHECKSUM : 0|8@1+ (1,0) [0|255] "" XXX
160161
SG_ COUNTER : 8|4@1+ (1,0) [0|15] "" XXX
162+
SG_ Clutch_Depressed : 47|1@0+ (1,0) [0|1] "" XXX
161163
SG_ Cruise_Set_Speed : 51|12@0+ (1,0) [0|120] "" XXX
162164
SG_ Cruise_On : 54|1@1+ (1,0) [0|1] "" XXX
163165
SG_ Cruise_Activated : 55|1@1+ (1,0) [0|1] "" XXX

0 commit comments

Comments
 (0)