pull/31792/head
Shane Smiskol 1 year ago
parent 47c6452e34
commit 9b0df58e1e
  1. 2
      selfdrive/controls/controlsd.py

@ -687,7 +687,7 @@ class Controls:
hudControl.speedVisible = self.enabled
hudControl.lanesVisible = self.enabled
hudControl.leadVisible = self.sm['longitudinalPlan'].hasLead
hudControl.leadDistanceBars = self.sm['longitudinalPlan'].personality.raw + 1
hudControl.leadDistanceBars = self.personality + 1
hudControl.rightLaneVisible = True
hudControl.leftLaneVisible = True

Loading…
Cancel
Save