File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -166,24 +166,22 @@ def get_can_parsers(CP):
166
166
("ECMAcceleratorPos" , 80 ),
167
167
]
168
168
169
+ if CP .transmissionType == TransmissionType .direct :
170
+ pt_messages .append (("EBCMRegenPaddle" , 50 ))
171
+
169
172
if CP .enableBsm :
170
173
pt_messages .append (("BCMBlindSpotMonitor" , 10 ))
171
174
172
- # Used to read back last counter sent to PT by camera
175
+ cam_messages = []
173
176
if CP .networkLocation == NetworkLocation .fwdCamera :
174
177
pt_messages += [
175
178
("ASCMLKASteeringCmd" , 0 ),
176
179
]
177
-
178
- if CP .transmissionType == TransmissionType .direct :
179
- pt_messages .append (("EBCMRegenPaddle" , 50 ))
180
-
181
- cam_messages = []
182
- if CP .networkLocation == NetworkLocation .fwdCamera :
183
180
cam_messages += [
184
181
("ASCMLKASteeringCmd" , 10 ),
185
182
("ASCMActiveCruiseControlStatus" , 25 ),
186
183
]
184
+
187
185
if CP .carFingerprint not in SDGM_CAR :
188
186
cam_messages += [
189
187
("AEBCmd" , 10 ),
You can’t perform that action at this time.
0 commit comments