update regardless, it's an extension now

This commit is contained in:
Jason Wen
2025-03-20 16:03:29 -04:00
parent 7df06df6b2
commit 46d29d10af
-4
View File
@@ -118,10 +118,6 @@ class Controls:
if not CC.longActive:
self.LoC.reset()
# Neural Network Lateral Control
if self.CP_SP.neuralNetworkLateralControl.enabled or self.params.get_bool("LateralTorqueControlLateralJerk"):
self.LaC.extension.update_model_v2(model_v2)
# accel PID loop
pid_accel_limits = self.CI.get_pid_accel_limits(self.CP, CS.vEgo, CS.vCruise * CV.KPH_TO_MS)
actuators.accel = float(self.LoC.update(CC.longActive, CS, long_plan.aTarget, long_plan.shouldStop, pid_accel_limits))