Update selfdrive/car/honda/carcontroller.py

pull/27731/head
Shane Smiskol 2 years ago committed by GitHub
parent b32b0e4052
commit 1e386b0eca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      selfdrive/car/honda/carcontroller.py

@ -147,7 +147,8 @@ class CarController:
pcm_cancel_cmd = CC.cruiseControl.cancel
if CC.longActive:
accel = compute_accel(actuators.accel, CS.out.vEgo, self.CP.carFingerprint)
# accel = compute_accel(actuators.accel, CS.out.vEgo, self.CP.carFingerprint)
accel = actuators.accel
gas, brake = compute_gas_brake(actuators.accel, CS.out.vEgo, self.CP.carFingerprint)
else:
accel = 0.0

Loading…
Cancel
Save