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