|
|
@ -674,7 +674,7 @@ class Controls: |
|
|
|
CC.cruiseControl.resume = self.enabled and CS.cruiseState.standstill and speeds[-1] > 0.1 |
|
|
|
CC.cruiseControl.resume = self.enabled and CS.cruiseState.standstill and speeds[-1] > 0.1 |
|
|
|
|
|
|
|
|
|
|
|
hudControl = CC.hudControl |
|
|
|
hudControl = CC.hudControl |
|
|
|
hudControl.setSpeed = float(self.v_cruise_kph * CV.KPH_TO_MS) |
|
|
|
hudControl.setSpeed = float(self.v_cruise_cluster_kph * CV.KPH_TO_MS) |
|
|
|
hudControl.speedVisible = self.enabled |
|
|
|
hudControl.speedVisible = self.enabled |
|
|
|
hudControl.lanesVisible = self.enabled |
|
|
|
hudControl.lanesVisible = self.enabled |
|
|
|
hudControl.leadVisible = self.sm['longitudinalPlan'].hasLead |
|
|
|
hudControl.leadVisible = self.sm['longitudinalPlan'].hasLead |
|
|
|