Hyundai CAN-FD: set request accel when stopping (#26877)

Update hyundaicanfd.py
old-commit-hash: 2c293bf728
beeps
Shane Smiskol 2 years ago committed by GitHub
parent caecddf931
commit 41459b0924
  1. 2
      selfdrive/car/hyundai/hyundaicanfd.py

@ -72,8 +72,6 @@ def create_acc_control(packer, CP, enabled, accel_last, accel, stopping, gas_ove
else:
a_raw = accel
a_val = clip(accel, accel_last - jn, accel_last + jn)
if stopping:
a_raw = 0
values = {
"ACCMode": 0 if not enabled else (2 if gas_override else 1),

Loading…
Cancel
Save