From 4a50ca040feebe4263a82c329d28bcd5ca798fb7 Mon Sep 17 00:00:00 2001 From: 1454 <19884453+1454@users.noreply.github.com> Date: Tue, 1 Sep 2026 22:04:44 -0400 Subject: [PATCH] Allow Silverado cruise engage at a stop. Drop the 5 kph minEnableSpeed so SET is not blocked while creeping below 3 mph. Co-authored-by: Cursor --- opendbc_repo/opendbc/car/gm/interface.py | 1 + opendbc_repo/opendbc/car/gm/tests/test_gm.py | 1 + 2 files changed, 2 insertions(+) diff --git a/opendbc_repo/opendbc/car/gm/interface.py b/opendbc_repo/opendbc/car/gm/interface.py index 1c89f5eb3..2779d92c8 100755 --- a/opendbc_repo/opendbc/car/gm/interface.py +++ b/opendbc_repo/opendbc/car/gm/interface.py @@ -503,6 +503,7 @@ class CarInterface(CarInterfaceBase): # On the Bolt, the ECM and camera independently check that you are either above 5 kph or at a stop # with foot on brake to allow engagement, but this platform only has that check in the camera. # TODO: check if this is split by EV/ICE with more platforms in the future + ret.minEnableSpeed = 0. CarInterfaceBase.configure_torque_tune(candidate, ret.lateralTuning) elif candidate in (CAR.CHEVROLET_EQUINOX, CAR.CHEVROLET_EQUINOX_CC): diff --git a/opendbc_repo/opendbc/car/gm/tests/test_gm.py b/opendbc_repo/opendbc/car/gm/tests/test_gm.py index 8c8a85c3e..d55bed9ca 100644 --- a/opendbc_repo/opendbc/car/gm/tests/test_gm.py +++ b/opendbc_repo/opendbc/car/gm/tests/test_gm.py @@ -303,6 +303,7 @@ class TestGMInterface: assert car_params.openpilotLongitudinalControl assert not car_params.enableGasInterceptorDEPRECATED + assert car_params.minEnableSpeed == pytest.approx(0.0) assert list(car_params.longitudinalTuning.kpBP) == pytest.approx([0.0, 5.0, 15.0, 35.0]) assert list(car_params.longitudinalTuning.kpV) == pytest.approx([0.02, 0.03, 0.028, 0.022]) assert list(car_params.longitudinalTuning.kiBP) == pytest.approx([0.0, 5.0, 15.0, 35.0])