Skip to content

Commit 6eca65e

Browse files
authored
Update carcontroller.py
1 parent ed5bc0f commit 6eca65e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opendbc/car/honda/carcontroller.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def update(self, CC, CS, now_nanos):
190190
np.clip(CS.out.vEgo + 2.0, 0.0, 100.0),
191191
np.clip(CS.out.vEgo + 5.0, 0.0, 100.0)]
192192
pcm_speed = float(np.interp(gas - brake, pcm_speed_BP, pcm_speed_V))
193-
pcm_accel = int(np.clip((accel / 1.44) / max_accel, 0.0, 1.0) * self.params.NIDEC_GAS_MAX)
193+
# unused so commenting - pcm_accel = int(np.clip((accel / 1.44) / max_accel, 0.0, 1.0) * self.params.NIDEC_GAS_MAX)
194194

195195
if not self.CP.openpilotLongitudinalControl:
196196
if self.frame % 2 == 0 and self.CP.carFingerprint not in HONDA_BOSCH_RADARLESS: # radarless cars don't have supplemental message

0 commit comments

Comments
 (0)