From 2038d9b469401ea7a2708aa5b6994595affc5baa Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Thu, 25 Jul 2024 15:18:34 -0400 Subject: [PATCH] send 0 at stop req --- selfdrive/car/hyundai/carcontroller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/hyundai/carcontroller.py b/selfdrive/car/hyundai/carcontroller.py index 120be3d1ef..70fb05f0d8 100644 --- a/selfdrive/car/hyundai/carcontroller.py +++ b/selfdrive/car/hyundai/carcontroller.py @@ -540,7 +540,7 @@ class CarController(CarControllerBase): if long_control == LongCtrlState.off: self.accel_raw, self.accel_val = 0, 0 else: - if long_control == LongCtrlState.stopping and CS.out.standstill: + if long_control == LongCtrlState.stopping: self.accel_raw = 0 self.accel_val = clip(self.accel_raw, self.accel_last - rate_down, self.accel_last + rate_up) self.accel_last = self.accel_val