Honda Longitudinal: fix HUD max distance setting (#24915)

Fix max distance setting on display
old-commit-hash: 4efb28766e
taco
Jason Wen 3 years ago committed by GitHub
parent 7ea84b2ddf
commit 55901ddab7
  1. 2
      selfdrive/car/honda/hondacan.py

@ -111,7 +111,7 @@ def create_ui_commands(packer, CP, enabled, pcm_speed, hud, is_metric, idx, stoc
acc_hud_values = { acc_hud_values = {
'CRUISE_SPEED': hud.v_cruise, 'CRUISE_SPEED': hud.v_cruise,
'ENABLE_MINI_CAR': 1, 'ENABLE_MINI_CAR': 1,
'HUD_DISTANCE': 3, # max distance setting on display 'HUD_DISTANCE': 0, # max distance setting on display
'IMPERIAL_UNIT': int(not is_metric), 'IMPERIAL_UNIT': int(not is_metric),
'HUD_LEAD': 2 if enabled and hud.lead_visible else 1 if enabled else 0, 'HUD_LEAD': 2 if enabled and hud.lead_visible else 1 if enabled else 0,
'SET_ME_X01_2': 1, 'SET_ME_X01_2': 1,

Loading…
Cancel
Save