From d71a946198c649f3435d3dcc9c927dfe415a7428 Mon Sep 17 00:00:00 2001 From: TK211X <33460783+TK211X@users.noreply.github.com> Date: Thu, 17 Jan 2019 01:58:22 -0500 Subject: [PATCH 1/2] Stock Max Request 2NM --- 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 3cd8d136ff8a27..09db084b0c11df 100644 --- a/selfdrive/car/hyundai/carcontroller.py +++ b/selfdrive/car/hyundai/carcontroller.py @@ -10,7 +10,7 @@ # Steer torque limits class SteerLimitParams: - STEER_MAX = 250 # 409 is the max + STEER_MAX = 255 # 409 is the max STEER_DELTA_UP = 3 STEER_DELTA_DOWN = 7 STEER_DRIVER_ALLOWANCE = 50 From 8856d3449e5ff1d81af4416d9dcd90847b524dc1 Mon Sep 17 00:00:00 2001 From: TK211X <33460783+TK211X@users.noreply.github.com> Date: Thu, 17 Jan 2019 02:20:14 -0500 Subject: [PATCH 2/2] Reflect Hyundai Safety for 2NM Max Stock Request --- panda/board/safety/safety_hyundai.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/board/safety/safety_hyundai.h b/panda/board/safety/safety_hyundai.h index caac727303716e..e813b252a3d05d 100644 --- a/panda/board/safety/safety_hyundai.h +++ b/panda/board/safety/safety_hyundai.h @@ -1,4 +1,4 @@ -const int HYUNDAI_MAX_STEER = 250; +const int HYUNDAI_MAX_STEER = 255; const int HYUNDAI_MAX_RT_DELTA = 112; // max delta torque allowed for real time checks const int32_t HYUNDAI_RT_INTERVAL = 250000; // 250ms between real time checks const int HYUNDAI_MAX_RATE_UP = 3;