From 6df5603e8de8e087181dbc636fdd7cfbc3c3220b Mon Sep 17 00:00:00 2001 From: Rick Lan Date: Wed, 31 Jul 2024 12:06:00 +0800 Subject: [PATCH] ACC Filter State class for handling distance button --- toyota_sdsu.dbc | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 toyota_sdsu.dbc diff --git a/toyota_sdsu.dbc b/toyota_sdsu.dbc new file mode 100644 index 0000000000..9f78512acc --- /dev/null +++ b/toyota_sdsu.dbc @@ -0,0 +1,8 @@ +BO_ 767 SDSU: 8 XXX + SG_ FD_BUTTON : 7|1@0+ (1,0) [0|1] "" XXX + SG_ STATE : 23|4@0+ (1,0) [0|15] "" XXX + +CM_ "BO_ SDSU: The sDSU is a modified DSU for use in TSS-P Toyotas. Learn more: https://github.com/RetroPilot/ocelot/tree/main/firmware/smart_dsu"; +CM_ SG_ 767 FD_BUTTON "The follow distance button signal as forwarded by the sdsu"; + +VAL_ 767 STATE 7 "STATE_AEB_CTRL" 6 "FAULT_INVALID" 5 "FAULT_TIMEOUT" 4 "FAULT_STARTUP" 3 "FAULT_SCE" 2 "FAULT_SEND" 1 "FAULT_BAD_CHECKSUM" 0 "NO_FAULT" ;