From 9a2ecec1a839e063347d0cbbb563ffaf28dba40e Mon Sep 17 00:00:00 2001 From: cydia2020 <12470297+cydia2020@users.noreply.github.com> Date: Thu, 21 Oct 2021 09:41:31 +1100 Subject: [PATCH] Toyota longitudinal: Illuminate PCS Warning Light If DSU is Unplugged (#22631) * display amber "PCS Off" indicator when DSU is unplugged * Update opendbc * update ref * Update opendbc * update ref * bump opendbc * bump opendbc * update refs Co-authored-by: Adeeb Shihadeh --- opendbc | 2 +- selfdrive/car/toyota/toyotacan.py | 1 + selfdrive/test/process_replay/ref_commit | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/opendbc b/opendbc index 071cedca6..229e9fffd 160000 --- a/opendbc +++ b/opendbc @@ -1 +1 @@ -Subproject commit 071cedca61c766cc5e1d7142c8152387baa03696 +Subproject commit 229e9fffd8ae070652edc7e0f55e82f28538d8b0 diff --git a/selfdrive/car/toyota/toyotacan.py b/selfdrive/car/toyota/toyotacan.py index cdfb28429..43b06d9dc 100644 --- a/selfdrive/car/toyota/toyotacan.py +++ b/selfdrive/car/toyota/toyotacan.py @@ -57,6 +57,7 @@ def create_acc_cancel_command(packer): def create_fcw_command(packer, fcw): values = { + "PCS_INDICATOR": 1, "FCW": fcw, "SET_ME_X20": 0x20, "SET_ME_X10": 0x10, diff --git a/selfdrive/test/process_replay/ref_commit b/selfdrive/test/process_replay/ref_commit index 108ab78c9..51dba73ce 100644 --- a/selfdrive/test/process_replay/ref_commit +++ b/selfdrive/test/process_replay/ref_commit @@ -1 +1 @@ -9618632e65db0c0c9c160bbebcb1009385e905bd \ No newline at end of file +5522675909c1af529323735a02ae2186dbed898d \ No newline at end of file