mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-23 08:53:44 +08:00
refactor(long): remove duplicate resolver initialization
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user