From d2bd12e9a107dfc422cbcac8b03fec441cb61650 Mon Sep 17 00:00:00 2001 From: whoisdomi Date: Wed, 6 May 2026 14:16:04 -0500 Subject: [PATCH] Honda and Mazda Dashboard signals MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mazda CX-5 2017-21 Mazda CX-5 2022-25 Mazda CX-9 2016-20 Mazda CX-9 2021-23 Mazda 3 2017-18 Mazda 6 2017-20 The Mazda caveat worth noting: unlike Honda (where HAS_CAMERA_MESSAGES was already confirmed per-car), Mazda has no such gate — all six models will attempt to read CAM_TRAFFIC_SIGNS since it's registered with freq=0 Honda: limited to HONDA_CAMERA_MESSAGE_CARS, all radarless Bosch: Honda Accord 2018-22 (+ Accord Hybrid 2018-22, Inspire 2018) Honda Civic 2019-21 (+ Civic Hatchback 2017-21) Honda Civic 2022-24 (+ Civic Hatchback 2022-24, Civic Hybrid 2025-26, Civic Hatchback Hybrid 2023/2025-26) Honda CR-V 2017-22 Honda CR-V Hybrid 2017-22 Honda HR-V 2023-25 Honda Insight 2019-22 Not included (not in HONDA_CAMERA_MESSAGE_CARS): Accord 2023-25, CR-V 2023-26, Odyssey, Pilot, Passport, Acura RDX 3G, Acura TLX — those are either CANFD or use a different DBC and haven't been confirmed to publish CAMERA_MESSAGES --- opendbc_repo/opendbc/car/honda/carstate.py | 3 +++ opendbc_repo/opendbc/car/mazda/carstate.py | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/opendbc_repo/opendbc/car/honda/carstate.py b/opendbc_repo/opendbc/car/honda/carstate.py index 4d725381d..36e141403 100644 --- a/opendbc_repo/opendbc/car/honda/carstate.py +++ b/opendbc_repo/opendbc/car/honda/carstate.py @@ -235,6 +235,9 @@ class CarState(CarStateBase): fp_ret = custom.StarPilotCarState.new_message() fp_ret.dashboardSpeedLimit = calculate_speed_limit(self.CP, self.FPCP, cp, cp_cam) + if self.FPCP.flags & HondaStarPilotFlags.HAS_CAMERA_MESSAGES: + sign_bus = cp if (self.CP.carFingerprint in (HONDA_BOSCH - HONDA_BOSCH_RADARLESS - HONDA_BOSCH_CANFD)) else cp_cam + fp_ret.dashboardStopSign = 1 if sign_bus.vl["CAMERA_MESSAGES"]["ROAD_SIGN"] == 89 else 0 return ret, fp_ret diff --git a/opendbc_repo/opendbc/car/mazda/carstate.py b/opendbc_repo/opendbc/car/mazda/carstate.py index 63668f6b5..8ddf777d3 100644 --- a/opendbc_repo/opendbc/car/mazda/carstate.py +++ b/opendbc_repo/opendbc/car/mazda/carstate.py @@ -118,11 +118,13 @@ class CarState(CarStateBase): fp_ret = custom.StarPilotCarState.new_message() + fp_ret.dashboardStopSign = 1 if cp_cam.vl["CAM_TRAFFIC_SIGNS"]["STOP_SIGN"] == 9 else 0 + return ret, fp_ret @staticmethod def get_can_parsers(CP): return { Bus.pt: CANParser(DBC[CP.carFingerprint][Bus.pt], [], 0), - Bus.cam: CANParser(DBC[CP.carFingerprint][Bus.pt], [], 2), + Bus.cam: CANParser(DBC[CP.carFingerprint][Bus.pt], [("CAM_TRAFFIC_SIGNS", 0)], 2), }