Ford: block stock ACC warnings on OP long (#28185)

Override this signal which the stock system uses to show messages such
as "ACC unavailable", "Speed too low" and causes the canceled sound to
play.
old-commit-hash: de45134da6
beeps
Cameron Clough 2 years ago committed by GitHub
parent 0a94d175b0
commit 3cc0b6e7f2
  1. 2
      selfdrive/car/ford/fordcan.py

@ -187,9 +187,11 @@ def create_acc_ui_msg(packer, CP, main_on: bool, enabled: bool, standstill: bool
if CP.openpilotLongitudinalControl:
values.update({
"AccStopStat_D_Dsply": 2 if standstill else 0, # Stopping status text
"AccMsgTxt_D2_Rq": 0, # ACC text
"AccTGap_B_Dsply": 0, # Show time gap control UI
"AccFllwMde_B_Dsply": 1 if hud_control.leadVisible else 0, # Lead indicator
"AccStopMde_B_Dsply": 1 if standstill else 0,
"AccWarn_D_Dsply": 0, # ACC warning
"AccTGap_D_Dsply": 4, # Fixed time gap in UI
})

Loading…
Cancel
Save