From 29edd5604987aec7034e7dec0eb0cb0f8c2772d9 Mon Sep 17 00:00:00 2001 From: John Belmonte Date: Tue, 28 Sep 2021 02:11:58 +0900 Subject: [PATCH] honda: replace hard-coded address for STEERING_CONTROL check (#22352) --- selfdrive/car/honda/carstate.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/selfdrive/car/honda/carstate.py b/selfdrive/car/honda/carstate.py index d1bfb1eaa6..e42583a000 100644 --- a/selfdrive/car/honda/carstate.py +++ b/selfdrive/car/honda/carstate.py @@ -322,11 +322,9 @@ class CarState(CarStateBase): @staticmethod def get_cam_can_parser(CP): signals = [] - - # all hondas except CRV, RDX and 2019 Odyssey@China use 0xe4 for steering - checks = [(0xe4, 100)] - if CP.carFingerprint in [CAR.CRV, CAR.CRV_EU, CAR.ACURA_RDX, CAR.ODYSSEY_CHN]: - checks = [(0x194, 100)] + checks = [ + ("STEERING_CONTROL", 100), + ] if CP.carFingerprint not in HONDA_BOSCH: signals += [("COMPUTER_BRAKE", "BRAKE_COMMAND", 0),