From b32e2c384da47c23282ca2901397eecc5567886b Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Fri, 9 Aug 2024 20:54:03 -0400 Subject: [PATCH] lower stop accel for non ice --- selfdrive/car/hyundai/interface.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/selfdrive/car/hyundai/interface.py b/selfdrive/car/hyundai/interface.py index 65dbdb1732..e0223686e3 100644 --- a/selfdrive/car/hyundai/interface.py +++ b/selfdrive/car/hyundai/interface.py @@ -104,13 +104,14 @@ class CarInterface(CarInterfaceBase): ret.stoppingControl = True ret.vEgoStarting = 0.1 ret.startAccel = 1.6 - ret.stopAccel = -1.0 ret.longitudinalActuatorDelay = 0.5 if ret.flags & (HyundaiFlags.HYBRID | HyundaiFlags.EV): ret.startingState = False + ret.stopAccel = -2.0 else: ret.startingState = True + ret.stopAccel = -1.0 if DBC[ret.carFingerprint]["radar"] is None: if ret.spFlags & (HyundaiFlagsSP.SP_ENHANCED_SCC | HyundaiFlagsSP.SP_CAMERA_SCC_LEAD):