From f2aba355b980b6d5eeacdab45d1cc6c5cf655056 Mon Sep 17 00:00:00 2001 From: firestar5683 <168790843+firestar5683@users.noreply.github.com> Date: Tue, 16 Dec 2025 12:48:15 -0600 Subject: [PATCH] Try friction adjustment --- selfdrive/car/interfaces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/interfaces.py b/selfdrive/car/interfaces.py index 623b23526..df4ae2203 100644 --- a/selfdrive/car/interfaces.py +++ b/selfdrive/car/interfaces.py @@ -42,7 +42,7 @@ FRICTION_THRESHOLD = 0.09 def get_friction_threshold(v_ego): # Interpolate friction threshold from 0.09 at 50 mph to 0.15 at 75 mph from openpilot.common.numpy_fast import interp - return interp(v_ego, [50 * CV.MPH_TO_MS, 75 * CV.MPH_TO_MS], [0.09, 0.15]) + return interp(v_ego, [1 * CV.MPH_TO_MS, 75 * CV.MPH_TO_MS], [0.09, 0.2]) TORQUE_PARAMS_PATH = os.path.join(BASEDIR, 'selfdrive/car/torque_data/params.toml') TORQUE_OVERRIDE_PATH = os.path.join(BASEDIR, 'selfdrive/car/torque_data/override.toml')