From 41a670180f320b73077d22b8780a7165922b410d Mon Sep 17 00:00:00 2001 From: crazyb123 <119409441+crazyb123@users.noreply.github.com> Date: Fri, 23 Oct 2026 20:02:54 +0800 Subject: [PATCH] Refactor candidate checks for GMC Acadia and Buick Envision --- opendbc_repo/opendbc/car/gm/interface.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/opendbc_repo/opendbc/car/gm/interface.py b/opendbc_repo/opendbc/car/gm/interface.py index 365a379f2a..37fd90c186 100755 --- a/opendbc_repo/opendbc/car/gm/interface.py +++ b/opendbc_repo/opendbc/car/gm/interface.py @@ -437,7 +437,12 @@ class CarInterface(CarInterfaceBase): if candidate == CAR.CHEVROLET_MALIBU_HYBRID_CC and ret.enableGasInterceptorDEPRECATED: ret.flags |= GMFlags.PEDAL_LONG.value - elif candidate in (CAR.GMC_ACADIA, CAR.BUICK_ENVISION_SDGM): + elif candidate == CAR.GMC_ACADIA: + ret.minEnableSpeed = -1. # engage speed is decided by pcm + ret.steerActuatorDelay = 0.2 + CarInterfaceBase.configure_torque_tune(candidate, ret.lateralTuning) + + elif candidate == CAR.BUICK_ENVISION_SDGM: ret.minEnableSpeed = -1. # engage speed is decided by pcm ret.steerActuatorDelay = 0.2 CarInterfaceBase.configure_torque_tune(candidate, ret.lateralTuning)