From 38edf1828e4f0d507a3dd6da24b8c28f6eba3afa Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Sat, 28 Nov 2026 11:50:17 -0600 Subject: [PATCH] Ford: set espActive from ABS active (#3909) --- opendbc_repo/opendbc/car/ford/carstate.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/opendbc_repo/opendbc/car/ford/carstate.py b/opendbc_repo/opendbc/car/ford/carstate.py index b5a0d8ded6..c7727c2437 100644 --- a/opendbc_repo/opendbc/car/ford/carstate.py +++ b/opendbc_repo/opendbc/car/ford/carstate.py @@ -87,6 +87,8 @@ class CarState(CarStateBase): ret.steerFaultTemporary = cp.vl["EPAS_INFO"]["EPAS_Failure"] == 1 ret.steerFaultPermanent = cp.vl["EPAS_INFO"]["EPAS_Failure"] in (2, 3) ret.espDisabled = cp.vl["Cluster_Info1_FD1"]["DrvSlipCtlMde_D_Rq"] != 0 # 0 is default mode + # the PSCM stops lane assist (LaActAvail_D_Actl -> 0) when ABS is active + ret.espActive = bool(cp.vl["DesiredTorqBrk"]["AbsActv_B_Actl"]) if self.CP.flags & FordFlags.CANFD: # this signal is always 0 on non-CAN FD cars