From 4c07de53e10bd874805d92f273ecda6f12bc3e7f Mon Sep 17 00:00:00 2001 From: Jason Young Date: Thu, 28 Dec 2023 10:11:04 -0500 Subject: [PATCH] reduce wheel touch threshold --- board/safety/safety_volkswagen_mqb.h | 2 +- tests/safety/test_volkswagen_mqb.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/safety/safety_volkswagen_mqb.h b/board/safety/safety_volkswagen_mqb.h index 297b24288f..8860a5c915 100644 --- a/board/safety/safety_volkswagen_mqb.h +++ b/board/safety/safety_volkswagen_mqb.h @@ -7,7 +7,7 @@ const SteeringLimits VOLKSWAGEN_MQB_STEERING_LIMITS = { .max_rt_interval = 250000, // 250ms between real time checks .max_rate_up = 10, // 5.0 Nm/s RoC limit (EPS rack has own soft-limit of 5.0 Nm/s) .max_rate_down = 10, // 5.0 Nm/s RoC limit (EPS rack has own soft-limit of 5.0 Nm/s) - .driver_torque_allowance = 80, + .driver_torque_allowance = 60, .driver_torque_factor = 3, .type = TorqueDriverLimited, }; diff --git a/tests/safety/test_volkswagen_mqb.py b/tests/safety/test_volkswagen_mqb.py index e782c1a319..7e0dd448aa 100755 --- a/tests/safety/test_volkswagen_mqb.py +++ b/tests/safety/test_volkswagen_mqb.py @@ -32,7 +32,7 @@ class TestVolkswagenMqbSafety(common.PandaCarSafetyTest, common.DriverTorqueStee MAX_RT_DELTA = 188 RT_INTERVAL = 250000 - DRIVER_TORQUE_ALLOWANCE = 80 + DRIVER_TORQUE_ALLOWANCE = 60 DRIVER_TORQUE_FACTOR = 3 @classmethod