From 09bba75950fa55d90a82f0109e3138ffe5a1d08c Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Thu, 18 May 2023 03:24:35 -0700 Subject: [PATCH] need to test this too --- selfdrive/car/ford/fordcan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/car/ford/fordcan.py b/selfdrive/car/ford/fordcan.py index e166724f0f..dc771400af 100644 --- a/selfdrive/car/ford/fordcan.py +++ b/selfdrive/car/ford/fordcan.py @@ -114,13 +114,13 @@ def create_acc_msg(packer, long_active: bool, gas: float, accel: float, stopping decel = 1 if accel < 0 and long_active else 0 values = { "AccBrkTot_A_Rq": 2.0, # Brake total accel request: [-20|11.9449] m/s^2 - "Cmbb_B_Enbl": 1, # if long_active else 0, # Enabled: 0=No, 1=Yes + "Cmbb_B_Enbl": 0, # if long_active else 0, # Enabled: 0=No, 1=Yes "AccPrpl_A_Rq": 2.0, # Acceleration request: [-5|5.23] m/s^2 "AccResumEnbl_B_Rq": 1, # if long_active else 0, # TODO: we may be able to improve braking response by utilizing pre-charging "AccBrkPrchg_B_Rq": 0, # Pre-charge brake request: 0=No, 1=Yes "AccBrkDecel_B_Rq": 0, # Deceleration request: 0=Inactive, 1=Active - "AccStopStat_B_Rq": 1 if stopping else 0, + "AccStopStat_B_Rq": 0,#1 if stopping else 0, "CmbbOvrrd_B_RqDrv": 1, "CmbbEngTqMn_B_Rq": 0, # "CmbbDeny_B_Actl": 1, # this could actually deny aeb