use v_cruise_cluster_kph for hudControl.setSpeed (#25245)

old-commit-hash: f300a8df2b5dbc457cbb132ee4085c07e381a7fb
This commit is contained in:
Willem Melching
2022-07-22 13:21:53 +02:00
committed by GitHub
parent 4523108a02
commit 862e3a8300
+1 -1
View File
@@ -674,7 +674,7 @@ class Controls:
CC.cruiseControl.resume = self.enabled and CS.cruiseState.standstill and speeds[-1] > 0.1
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.lanesVisible = self.enabled
hudControl.leadVisible = self.sm['longitudinalPlan'].hasLead