Skip to content

Commit

Permalink
fix tofu (lead) location on cluster and HUD to center lane
Browse files Browse the repository at this point in the history
the HDA icon state somehow was interfering with the lead car icon's lane location (left/middle/right)
  • Loading branch information
sunnyhaibin committed Apr 28, 2024
1 parent 459ee99 commit b47a978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/car/hyundai/hyundaicanfd.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def create_lfahda_cluster(packer, CAN, enabled, can_canfd_hybrid):
lfa_icon = "LFA_Icon_State" if can_canfd_hybrid else "LFA_ICON"

values = {
hda_icon: 1 if enabled else 0,
hda_icon: 1 if enabled and not can_canfd_hybrid else 0,
lfa_icon: 2 if enabled else 0,
}

Expand Down

0 comments on commit b47a978

Please sign in to comment.