From c529ea1041cb981bbc1fbae0e7fd12aa1f9a3538 Mon Sep 17 00:00:00 2001 From: rav4kumar <36933347+rav4kumar@users.noreply.github.com> Date: Sat, 22 Aug 2026 01:46:39 -0700 Subject: [PATCH] refactor(long): remove duplicate resolver initialization --- .../sunnypilot/selfdrive/controls/lib/longitudinal_planner.py | 1 - 1 file changed, 1 deletion(-) diff --git a/openpilot/sunnypilot/selfdrive/controls/lib/longitudinal_planner.py b/openpilot/sunnypilot/selfdrive/controls/lib/longitudinal_planner.py index b7f163265f..e6e12420a4 100644 --- a/openpilot/sunnypilot/selfdrive/controls/lib/longitudinal_planner.py +++ b/openpilot/sunnypilot/selfdrive/controls/lib/longitudinal_planner.py @@ -34,7 +34,6 @@ class LongitudinalPlannerSP: self.throttle_intent_controller = ThrottleIntentController(mpc.dt) self.lead_departure_controller = LeadDepartureController(CP.openpilotLongitudinalControl and CP.autoResumeSng and not CP.notCar) self.events_sp = EventsSP() - self.resolver = SpeedLimitResolver() self.dec = DynamicExperimentalController(CP, mpc) self.scc = SmartCruiseControl() self.resolver = SpeedLimitResolver()