From cab3268601c8ec326c32f1bbceea1b7231733346 Mon Sep 17 00:00:00 2001 From: firestar5683 <168790843+firestar5683@users.noreply.github.com> Date: Fri, 3 Oct 2025 21:57:30 -0500 Subject: [PATCH] Update carcontroller.py --- selfdrive/car/gm/carcontroller.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/selfdrive/car/gm/carcontroller.py b/selfdrive/car/gm/carcontroller.py index 1badece77..aae517f14 100644 --- a/selfdrive/car/gm/carcontroller.py +++ b/selfdrive/car/gm/carcontroller.py @@ -365,12 +365,8 @@ class CarController(CarControllerBase): else: accel_due_to_pitch = 0.0 - if frogpilot_toggles.sport_plus: - gas_max = self.params.MAX_GAS_PLUS - accel_max = self.params.ACCEL_MAX_PLUS - else: - gas_max = self.params.MAX_GAS - accel_max = self.params.ACCEL_MAX + gas_max = self.params.MAX_GAS + accel_max = self.params.ACCEL_MAX accel = clip(actuators.accel + accel_due_to_pitch, self.params.ACCEL_MIN, accel_max) torque = self.tireRadius * ((self.mass*accel) + (0.5*self.coeffDrag*self.frontalArea*self.airDensity*CS.out.vEgo**2))