From 2c293bf728f59a36830898e0f0d4111cd6708619 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Wed, 4 Jan 2023 12:06:01 -0800 Subject: [PATCH] Hyundai CAN-FD: set request accel when stopping (#26877) Update hyundaicanfd.py --- selfdrive/car/hyundai/hyundaicanfd.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/selfdrive/car/hyundai/hyundaicanfd.py b/selfdrive/car/hyundai/hyundaicanfd.py index 43c9642342..af7239571c 100644 --- a/selfdrive/car/hyundai/hyundaicanfd.py +++ b/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),