pull/24873/head
Shane Smiskol 3 years ago
parent ff0597ec92
commit e7dc3960da
  1. 2
      selfdrive/controls/controlsd.py

@ -647,7 +647,7 @@ class Controls:
if self.joystick_mode and self.sm.rcv_frame['testJoystick'] > 0 and self.sm['testJoystick'].buttons[0]:
CC.cruiseControl.cancel = True
if len(speeds := self.sm['longitudinalPlan'].speeds):
CC.cruiseControl.resume = self.enabled and CS.cruiseState.standstill and speeds[-1] > self.CP.vEgoStarting
CC.cruiseControl.resume = self.enabled and CS.cruiseState.standstill and speeds[-1] > 0.2
hudControl = CC.hudControl
hudControl.setSpeed = float(self.v_cruise_kph * CV.KPH_TO_MS)

Loading…
Cancel
Save