diff logic

This commit is contained in:
Jason Wen
2024-08-06 00:48:40 -04:00
parent 67f5afb7a2
commit db593e718f
+1 -2
View File
@@ -639,10 +639,9 @@ class Controls:
if not self.joystick_mode:
speeds = long_plan.speeds
resume = False
if len(speeds):
resume = self.enabled_long and CS.standstill and speeds[-1] > 0.1 and self.CP.carName == "hyundai"
else:
resume = False
# accel PID loop
pid_accel_limits = self.CI.get_pid_accel_limits(self.CP, CS.vEgo, self.v_cruise_helper.v_cruise_kph * CV.KPH_TO_MS)