From 6d16039cd8c7c931296ad6bd52a7e1fe1ac5ef65 Mon Sep 17 00:00:00 2001 From: firestar5683 <168790843+firestar5683@users.noreply.github.com> Date: Sun, 11 May 2025 01:42:00 -0500 Subject: [PATCH] Update interface.py --- selfdrive/car/gm/interface.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/selfdrive/car/gm/interface.py b/selfdrive/car/gm/interface.py index d8193d20a..91d71584d 100644 --- a/selfdrive/car/gm/interface.py +++ b/selfdrive/car/gm/interface.py @@ -152,7 +152,7 @@ class CarInterface(CarInterfaceBase): except AttributeError: disable_long = params.get_bool("DisableOpenpilotLongitudinal") - ret.openpilotLongitudinalControl = not disable_long + ret.openpilotLongitudinalControl = True ret.networkLocation = NetworkLocation.gateway ret.radarUnavailable = RADAR_HEADER_MSG not in fingerprint[CanBus.OBSTACLE] and not docs ret.pcmCruise = False # stock non-adaptive cruise control is kept off @@ -278,7 +278,7 @@ class CarInterface(CarInterfaceBase): disable_long = frogpilot_toggles.disable_openpilot_long except AttributeError: disable_long = params.get_bool("DisableOpenpilotLongitudinal") - ret.openpilotLongitudinalControl = not disable_long + ret.openpilotLongitudinalControl = True ret.stoppingControl = True ret.autoResumeSng = True @@ -306,7 +306,7 @@ class CarInterface(CarInterfaceBase): disable_long = frogpilot_toggles.disable_openpilot_long except AttributeError: disable_long = params.get_bool("DisableOpenpilotLongitudinal") - ret.openpilotLongitudinalControl = not disable_long + ret.openpilotLongitudinalControl = True ret.pcmCruise = False if not ret.enableGasInterceptor and candidate in CC_ONLY_CAR: #redneck tuning