diff --git a/sunnypilot/selfdrive/controls/lib/latcontrol_torque_lat_accel.py b/sunnypilot/selfdrive/controls/lib/latcontrol_torque_lat_accel.py index 7569f77c15..9b8a0a12c5 100644 --- a/sunnypilot/selfdrive/controls/lib/latcontrol_torque_lat_accel.py +++ b/sunnypilot/selfdrive/controls/lib/latcontrol_torque_lat_accel.py @@ -13,8 +13,8 @@ from openpilot.sunnypilot.selfdrive.controls.lib.latcontrol_torque_ext_base impo class LatControlTorqueCustomLateralAccel(LatControlTorqueExtBase): def __init__(self, lac_torque, CP, CP_SP): super().__init__(lac_torque, CP, CP_SP) - self.params = Params() - self.use_lateral_jerk: bool = self.params.get_bool("LateralTorqueControlLateralJerk") + self.params = Params() # TODO-SP: unused after moving the param to cereal + self.use_lateral_jerk: bool = self.params.get_bool("LateralTorqueControlLateralJerk") # TODO-SP: move this to cereal def update_custom_lateral_acceleration(self, CS, roll_compensation, gravity_adjusted_lateral_accel): if not self.use_lateral_jerk: