From 735d330983ff85c55fb6e010517d3e3012e74cc8 Mon Sep 17 00:00:00 2001 From: Kevin Robert Keegan Date: Tue, 19 Oct 2021 14:03:09 -0700 Subject: [PATCH] Toyota: Add SDSU signals to community DBC (#451) * Follow Distance Button Signal Forwarded from sDSU The sDSU forwards the signal from the follow distance button: https://github.com/wocsor/panda/commit/b5120f6427551345c543b490fe47da189c1e48e1 * Move sDSU DBC to Comma File --- generator/toyota/_comma.dbc | 7 +++++++ lexus_ct200h_2018_pt_generated.dbc | 7 +++++++ lexus_gs300h_2017_pt_generated.dbc | 7 +++++++ lexus_is_2018_pt_generated.dbc | 7 +++++++ lexus_nx300_2018_pt_generated.dbc | 7 +++++++ lexus_nx300h_2018_pt_generated.dbc | 7 +++++++ lexus_rx_350_2016_pt_generated.dbc | 7 +++++++ lexus_rx_hybrid_2017_pt_generated.dbc | 7 +++++++ toyota_avalon_2017_pt_generated.dbc | 7 +++++++ toyota_camry_hybrid_2018_pt_generated.dbc | 7 +++++++ toyota_corolla_2017_pt_generated.dbc | 7 +++++++ toyota_highlander_2017_pt_generated.dbc | 7 +++++++ toyota_highlander_hybrid_2018_pt_generated.dbc | 7 +++++++ toyota_nodsu_hybrid_pt_generated.dbc | 7 +++++++ toyota_nodsu_pt_generated.dbc | 7 +++++++ toyota_prius_2017_pt_generated.dbc | 7 +++++++ toyota_rav4_2017_pt_generated.dbc | 7 +++++++ toyota_rav4_hybrid_2017_pt_generated.dbc | 7 +++++++ toyota_sienna_xle_2018_pt_generated.dbc | 7 +++++++ 19 files changed, 133 insertions(+) diff --git a/generator/toyota/_comma.dbc b/generator/toyota/_comma.dbc index 7d60c3c..9494e20 100644 --- a/generator/toyota/_comma.dbc +++ b/generator/toyota/_comma.dbc @@ -30,3 +30,10 @@ BO_ 35 SECONDARY_STEER_ANGLE: 8 XXX SG_ ZORRO_STEER : 7|24@0- (0.004901594652,0) [-500|500] "" XXX CM_ "BO_ SECONDARY_STEER_ANGLE: ZSS is a high-precision steering angle sensor that can replace the lower resolution sensor in most TSS1 Toyotas. Learn more: https://github.com/commaai/openpilot/wiki/Toyota-Lexus#zorro-steering-sensor-zss"; + +BO_ 767 SDSU: 8 XXX + SG_ FD_BUTTON : 7|1@0+ (1,0) [0|1] "" XXX + +CM_ "BO_ SDSU: The sDSU is a modified DSU for use in TSS1 Toyotas. Learn more: https://github.com/wocsor/panda/tree/smart_dsu"; + +CM_ SG_ 767 FD_BUTTON "The follow distance button signal as forwarded by the sdsu"; diff --git a/lexus_ct200h_2018_pt_generated.dbc b/lexus_ct200h_2018_pt_generated.dbc index 818ab6f..3648f24 100644 --- a/lexus_ct200h_2018_pt_generated.dbc +++ b/lexus_ct200h_2018_pt_generated.dbc @@ -388,6 +388,13 @@ BO_ 35 SECONDARY_STEER_ANGLE: 8 XXX CM_ "BO_ SECONDARY_STEER_ANGLE: ZSS is a high-precision steering angle sensor that can replace the lower resolution sensor in most TSS1 Toyotas. Learn more: https://github.com/commaai/openpilot/wiki/Toyota-Lexus#zorro-steering-sensor-zss"; +BO_ 767 SDSU: 8 XXX + SG_ FD_BUTTON : 7|1@0+ (1,0) [0|1] "" XXX + +CM_ "BO_ SDSU: The sDSU is a modified DSU for use in TSS1 Toyotas. Learn more: https://github.com/wocsor/panda/tree/smart_dsu"; + +CM_ SG_ 767 FD_BUTTON "The follow distance button signal as forwarded by the sdsu"; + CM_ "lexus_ct200h_2018_pt.dbc starts here"; diff --git a/lexus_gs300h_2017_pt_generated.dbc b/lexus_gs300h_2017_pt_generated.dbc index bb57716..fd28baf 100644 --- a/lexus_gs300h_2017_pt_generated.dbc +++ b/lexus_gs300h_2017_pt_generated.dbc @@ -388,6 +388,13 @@ BO_ 35 SECONDARY_STEER_ANGLE: 8 XXX CM_ "BO_ SECONDARY_STEER_ANGLE: ZSS is a high-precision steering angle sensor that can replace the lower resolution sensor in most TSS1 Toyotas. Learn more: https://github.com/commaai/openpilot/wiki/Toyota-Lexus#zorro-steering-sensor-zss"; +BO_ 767 SDSU: 8 XXX + SG_ FD_BUTTON : 7|1@0+ (1,0) [0|1] "" XXX + +CM_ "BO_ SDSU: The sDSU is a modified DSU for use in TSS1 Toyotas. Learn more: https://github.com/wocsor/panda/tree/smart_dsu"; + +CM_ SG_ 767 FD_BUTTON "The follow distance button signal as forwarded by the sdsu"; + CM_ "lexus_gs300h_2017_pt.dbc starts here"; diff --git a/lexus_is_2018_pt_generated.dbc b/lexus_is_2018_pt_generated.dbc index 7119442..2612e4e 100644 --- a/lexus_is_2018_pt_generated.dbc +++ b/lexus_is_2018_pt_generated.dbc @@ -388,6 +388,13 @@ BO_ 35 SECONDARY_STEER_ANGLE: 8 XXX CM_ "BO_ SECONDARY_STEER_ANGLE: ZSS is a high-precision steering angle sensor that can replace the lower resolution sensor in most TSS1 Toyotas. Learn more: https://github.com/commaai/openpilot/wiki/Toyota-Lexus#zorro-steering-sensor-zss"; +BO_ 767 SDSU: 8 XXX + SG_ FD_BUTTON : 7|1@0+ (1,0) [0|1] "" XXX + +CM_ "BO_ SDSU: The sDSU is a modified DSU for use in TSS1 Toyotas. Learn more: https://github.com/wocsor/panda/tree/smart_dsu"; + +CM_ SG_ 767 FD_BUTTON "The follow distance button signal as forwarded by the sdsu"; + CM_ "lexus_is_2018_pt.dbc starts here"; diff --git a/lexus_nx300_2018_pt_generated.dbc b/lexus_nx300_2018_pt_generated.dbc index 705d87d..e9b7eae 100644 --- a/lexus_nx300_2018_pt_generated.dbc +++ b/lexus_nx300_2018_pt_generated.dbc @@ -388,6 +388,13 @@ BO_ 35 SECONDARY_STEER_ANGLE: 8 XXX CM_ "BO_ SECONDARY_STEER_ANGLE: ZSS is a high-precision steering angle sensor that can replace the lower resolution sensor in most TSS1 Toyotas. Learn more: https://github.com/commaai/openpilot/wiki/Toyota-Lexus#zorro-steering-sensor-zss"; +BO_ 767 SDSU: 8 XXX + SG_ FD_BUTTON : 7|1@0+ (1,0) [0|1] "" XXX + +CM_ "BO_ SDSU: The sDSU is a modified DSU for use in TSS1 Toyotas. Learn more: https://github.com/wocsor/panda/tree/smart_dsu"; + +CM_ SG_ 767 FD_BUTTON "The follow distance button signal as forwarded by the sdsu"; + CM_ "lexus_nx300_2018_pt.dbc starts here"; diff --git a/lexus_nx300h_2018_pt_generated.dbc b/lexus_nx300h_2018_pt_generated.dbc index f4bfb86..e4f59a9 100644 --- a/lexus_nx300h_2018_pt_generated.dbc +++ b/lexus_nx300h_2018_pt_generated.dbc @@ -388,6 +388,13 @@ BO_ 35 SECONDARY_STEER_ANGLE: 8 XXX CM_ "BO_ SECONDARY_STEER_ANGLE: ZSS is a high-precision steering angle sensor that can replace the lower resolution sensor in most TSS1 Toyotas. Learn more: https://github.com/commaai/openpilot/wiki/Toyota-Lexus#zorro-steering-sensor-zss"; +BO_ 767 SDSU: 8 XXX + SG_ FD_BUTTON : 7|1@0+ (1,0) [0|1] "" XXX + +CM_ "BO_ SDSU: The sDSU is a modified DSU for use in TSS1 Toyotas. Learn more: https://github.com/wocsor/panda/tree/smart_dsu"; + +CM_ SG_ 767 FD_BUTTON "The follow distance button signal as forwarded by the sdsu"; + CM_ "lexus_nx300h_2018_pt.dbc starts here"; diff --git a/lexus_rx_350_2016_pt_generated.dbc b/lexus_rx_350_2016_pt_generated.dbc index 6144153..7ca0a5a 100644 --- a/lexus_rx_350_2016_pt_generated.dbc +++ b/lexus_rx_350_2016_pt_generated.dbc @@ -388,6 +388,13 @@ BO_ 35 SECONDARY_STEER_ANGLE: 8 XXX CM_ "BO_ SECONDARY_STEER_ANGLE: ZSS is a high-precision steering angle sensor that can replace the lower resolution sensor in most TSS1 Toyotas. Learn more: https://github.com/commaai/openpilot/wiki/Toyota-Lexus#zorro-steering-sensor-zss"; +BO_ 767 SDSU: 8 XXX + SG_ FD_BUTTON : 7|1@0+ (1,0) [0|1] "" XXX + +CM_ "BO_ SDSU: The sDSU is a modified DSU for use in TSS1 Toyotas. Learn more: https://github.com/wocsor/panda/tree/smart_dsu"; + +CM_ SG_ 767 FD_BUTTON "The follow distance button signal as forwarded by the sdsu"; + CM_ "lexus_rx_350_2016_pt.dbc starts here"; diff --git a/lexus_rx_hybrid_2017_pt_generated.dbc b/lexus_rx_hybrid_2017_pt_generated.dbc index 9243735..eed5617 100644 --- a/lexus_rx_hybrid_2017_pt_generated.dbc +++ b/lexus_rx_hybrid_2017_pt_generated.dbc @@ -388,6 +388,13 @@ BO_ 35 SECONDARY_STEER_ANGLE: 8 XXX CM_ "BO_ SECONDARY_STEER_ANGLE: ZSS is a high-precision steering angle sensor that can replace the lower resolution sensor in most TSS1 Toyotas. Learn more: https://github.com/commaai/openpilot/wiki/Toyota-Lexus#zorro-steering-sensor-zss"; +BO_ 767 SDSU: 8 XXX + SG_ FD_BUTTON : 7|1@0+ (1,0) [0|1] "" XXX + +CM_ "BO_ SDSU: The sDSU is a modified DSU for use in TSS1 Toyotas. Learn more: https://github.com/wocsor/panda/tree/smart_dsu"; + +CM_ SG_ 767 FD_BUTTON "The follow distance button signal as forwarded by the sdsu"; + CM_ "lexus_rx_hybrid_2017_pt.dbc starts here"; diff --git a/toyota_avalon_2017_pt_generated.dbc b/toyota_avalon_2017_pt_generated.dbc index b7da0d4..46f2a12 100644 --- a/toyota_avalon_2017_pt_generated.dbc +++ b/toyota_avalon_2017_pt_generated.dbc @@ -388,6 +388,13 @@ BO_ 35 SECONDARY_STEER_ANGLE: 8 XXX CM_ "BO_ SECONDARY_STEER_ANGLE: ZSS is a high-precision steering angle sensor that can replace the lower resolution sensor in most TSS1 Toyotas. Learn more: https://github.com/commaai/openpilot/wiki/Toyota-Lexus#zorro-steering-sensor-zss"; +BO_ 767 SDSU: 8 XXX + SG_ FD_BUTTON : 7|1@0+ (1,0) [0|1] "" XXX + +CM_ "BO_ SDSU: The sDSU is a modified DSU for use in TSS1 Toyotas. Learn more: https://github.com/wocsor/panda/tree/smart_dsu"; + +CM_ SG_ 767 FD_BUTTON "The follow distance button signal as forwarded by the sdsu"; + CM_ "toyota_avalon_2017_pt.dbc starts here"; diff --git a/toyota_camry_hybrid_2018_pt_generated.dbc b/toyota_camry_hybrid_2018_pt_generated.dbc index 4798539..e453605 100644 --- a/toyota_camry_hybrid_2018_pt_generated.dbc +++ b/toyota_camry_hybrid_2018_pt_generated.dbc @@ -388,6 +388,13 @@ BO_ 35 SECONDARY_STEER_ANGLE: 8 XXX CM_ "BO_ SECONDARY_STEER_ANGLE: ZSS is a high-precision steering angle sensor that can replace the lower resolution sensor in most TSS1 Toyotas. Learn more: https://github.com/commaai/openpilot/wiki/Toyota-Lexus#zorro-steering-sensor-zss"; +BO_ 767 SDSU: 8 XXX + SG_ FD_BUTTON : 7|1@0+ (1,0) [0|1] "" XXX + +CM_ "BO_ SDSU: The sDSU is a modified DSU for use in TSS1 Toyotas. Learn more: https://github.com/wocsor/panda/tree/smart_dsu"; + +CM_ SG_ 767 FD_BUTTON "The follow distance button signal as forwarded by the sdsu"; + CM_ "toyota_camry_hybrid_2018_pt.dbc starts here"; diff --git a/toyota_corolla_2017_pt_generated.dbc b/toyota_corolla_2017_pt_generated.dbc index bea9494..d56621f 100644 --- a/toyota_corolla_2017_pt_generated.dbc +++ b/toyota_corolla_2017_pt_generated.dbc @@ -388,6 +388,13 @@ BO_ 35 SECONDARY_STEER_ANGLE: 8 XXX CM_ "BO_ SECONDARY_STEER_ANGLE: ZSS is a high-precision steering angle sensor that can replace the lower resolution sensor in most TSS1 Toyotas. Learn more: https://github.com/commaai/openpilot/wiki/Toyota-Lexus#zorro-steering-sensor-zss"; +BO_ 767 SDSU: 8 XXX + SG_ FD_BUTTON : 7|1@0+ (1,0) [0|1] "" XXX + +CM_ "BO_ SDSU: The sDSU is a modified DSU for use in TSS1 Toyotas. Learn more: https://github.com/wocsor/panda/tree/smart_dsu"; + +CM_ SG_ 767 FD_BUTTON "The follow distance button signal as forwarded by the sdsu"; + CM_ "toyota_corolla_2017_pt.dbc starts here"; diff --git a/toyota_highlander_2017_pt_generated.dbc b/toyota_highlander_2017_pt_generated.dbc index 878ec9a..16092a6 100644 --- a/toyota_highlander_2017_pt_generated.dbc +++ b/toyota_highlander_2017_pt_generated.dbc @@ -388,6 +388,13 @@ BO_ 35 SECONDARY_STEER_ANGLE: 8 XXX CM_ "BO_ SECONDARY_STEER_ANGLE: ZSS is a high-precision steering angle sensor that can replace the lower resolution sensor in most TSS1 Toyotas. Learn more: https://github.com/commaai/openpilot/wiki/Toyota-Lexus#zorro-steering-sensor-zss"; +BO_ 767 SDSU: 8 XXX + SG_ FD_BUTTON : 7|1@0+ (1,0) [0|1] "" XXX + +CM_ "BO_ SDSU: The sDSU is a modified DSU for use in TSS1 Toyotas. Learn more: https://github.com/wocsor/panda/tree/smart_dsu"; + +CM_ SG_ 767 FD_BUTTON "The follow distance button signal as forwarded by the sdsu"; + CM_ "toyota_highlander_2017_pt.dbc starts here"; diff --git a/toyota_highlander_hybrid_2018_pt_generated.dbc b/toyota_highlander_hybrid_2018_pt_generated.dbc index 38368ba..826850e 100644 --- a/toyota_highlander_hybrid_2018_pt_generated.dbc +++ b/toyota_highlander_hybrid_2018_pt_generated.dbc @@ -388,6 +388,13 @@ BO_ 35 SECONDARY_STEER_ANGLE: 8 XXX CM_ "BO_ SECONDARY_STEER_ANGLE: ZSS is a high-precision steering angle sensor that can replace the lower resolution sensor in most TSS1 Toyotas. Learn more: https://github.com/commaai/openpilot/wiki/Toyota-Lexus#zorro-steering-sensor-zss"; +BO_ 767 SDSU: 8 XXX + SG_ FD_BUTTON : 7|1@0+ (1,0) [0|1] "" XXX + +CM_ "BO_ SDSU: The sDSU is a modified DSU for use in TSS1 Toyotas. Learn more: https://github.com/wocsor/panda/tree/smart_dsu"; + +CM_ SG_ 767 FD_BUTTON "The follow distance button signal as forwarded by the sdsu"; + CM_ "toyota_highlander_hybrid_2018_pt.dbc starts here"; diff --git a/toyota_nodsu_hybrid_pt_generated.dbc b/toyota_nodsu_hybrid_pt_generated.dbc index 64b0470..b6502e5 100644 --- a/toyota_nodsu_hybrid_pt_generated.dbc +++ b/toyota_nodsu_hybrid_pt_generated.dbc @@ -388,6 +388,13 @@ BO_ 35 SECONDARY_STEER_ANGLE: 8 XXX CM_ "BO_ SECONDARY_STEER_ANGLE: ZSS is a high-precision steering angle sensor that can replace the lower resolution sensor in most TSS1 Toyotas. Learn more: https://github.com/commaai/openpilot/wiki/Toyota-Lexus#zorro-steering-sensor-zss"; +BO_ 767 SDSU: 8 XXX + SG_ FD_BUTTON : 7|1@0+ (1,0) [0|1] "" XXX + +CM_ "BO_ SDSU: The sDSU is a modified DSU for use in TSS1 Toyotas. Learn more: https://github.com/wocsor/panda/tree/smart_dsu"; + +CM_ SG_ 767 FD_BUTTON "The follow distance button signal as forwarded by the sdsu"; + CM_ "Imported file _toyota_nodsu_common.dbc starts here"; BO_ 401 STEERING_LTA: 8 XXX diff --git a/toyota_nodsu_pt_generated.dbc b/toyota_nodsu_pt_generated.dbc index 0575460..1de5102 100644 --- a/toyota_nodsu_pt_generated.dbc +++ b/toyota_nodsu_pt_generated.dbc @@ -388,6 +388,13 @@ BO_ 35 SECONDARY_STEER_ANGLE: 8 XXX CM_ "BO_ SECONDARY_STEER_ANGLE: ZSS is a high-precision steering angle sensor that can replace the lower resolution sensor in most TSS1 Toyotas. Learn more: https://github.com/commaai/openpilot/wiki/Toyota-Lexus#zorro-steering-sensor-zss"; +BO_ 767 SDSU: 8 XXX + SG_ FD_BUTTON : 7|1@0+ (1,0) [0|1] "" XXX + +CM_ "BO_ SDSU: The sDSU is a modified DSU for use in TSS1 Toyotas. Learn more: https://github.com/wocsor/panda/tree/smart_dsu"; + +CM_ SG_ 767 FD_BUTTON "The follow distance button signal as forwarded by the sdsu"; + CM_ "Imported file _toyota_nodsu_common.dbc starts here"; BO_ 401 STEERING_LTA: 8 XXX diff --git a/toyota_prius_2017_pt_generated.dbc b/toyota_prius_2017_pt_generated.dbc index 59bbf36..9cd560b 100644 --- a/toyota_prius_2017_pt_generated.dbc +++ b/toyota_prius_2017_pt_generated.dbc @@ -388,6 +388,13 @@ BO_ 35 SECONDARY_STEER_ANGLE: 8 XXX CM_ "BO_ SECONDARY_STEER_ANGLE: ZSS is a high-precision steering angle sensor that can replace the lower resolution sensor in most TSS1 Toyotas. Learn more: https://github.com/commaai/openpilot/wiki/Toyota-Lexus#zorro-steering-sensor-zss"; +BO_ 767 SDSU: 8 XXX + SG_ FD_BUTTON : 7|1@0+ (1,0) [0|1] "" XXX + +CM_ "BO_ SDSU: The sDSU is a modified DSU for use in TSS1 Toyotas. Learn more: https://github.com/wocsor/panda/tree/smart_dsu"; + +CM_ SG_ 767 FD_BUTTON "The follow distance button signal as forwarded by the sdsu"; + CM_ "toyota_prius_2017_pt.dbc starts here"; diff --git a/toyota_rav4_2017_pt_generated.dbc b/toyota_rav4_2017_pt_generated.dbc index 5bb60ce..d8991e3 100644 --- a/toyota_rav4_2017_pt_generated.dbc +++ b/toyota_rav4_2017_pt_generated.dbc @@ -388,6 +388,13 @@ BO_ 35 SECONDARY_STEER_ANGLE: 8 XXX CM_ "BO_ SECONDARY_STEER_ANGLE: ZSS is a high-precision steering angle sensor that can replace the lower resolution sensor in most TSS1 Toyotas. Learn more: https://github.com/commaai/openpilot/wiki/Toyota-Lexus#zorro-steering-sensor-zss"; +BO_ 767 SDSU: 8 XXX + SG_ FD_BUTTON : 7|1@0+ (1,0) [0|1] "" XXX + +CM_ "BO_ SDSU: The sDSU is a modified DSU for use in TSS1 Toyotas. Learn more: https://github.com/wocsor/panda/tree/smart_dsu"; + +CM_ SG_ 767 FD_BUTTON "The follow distance button signal as forwarded by the sdsu"; + CM_ "toyota_rav4_2017_pt.dbc starts here"; diff --git a/toyota_rav4_hybrid_2017_pt_generated.dbc b/toyota_rav4_hybrid_2017_pt_generated.dbc index 966984f..59ee204 100644 --- a/toyota_rav4_hybrid_2017_pt_generated.dbc +++ b/toyota_rav4_hybrid_2017_pt_generated.dbc @@ -388,6 +388,13 @@ BO_ 35 SECONDARY_STEER_ANGLE: 8 XXX CM_ "BO_ SECONDARY_STEER_ANGLE: ZSS is a high-precision steering angle sensor that can replace the lower resolution sensor in most TSS1 Toyotas. Learn more: https://github.com/commaai/openpilot/wiki/Toyota-Lexus#zorro-steering-sensor-zss"; +BO_ 767 SDSU: 8 XXX + SG_ FD_BUTTON : 7|1@0+ (1,0) [0|1] "" XXX + +CM_ "BO_ SDSU: The sDSU is a modified DSU for use in TSS1 Toyotas. Learn more: https://github.com/wocsor/panda/tree/smart_dsu"; + +CM_ SG_ 767 FD_BUTTON "The follow distance button signal as forwarded by the sdsu"; + CM_ "toyota_rav4_hybrid_2017_pt.dbc starts here"; diff --git a/toyota_sienna_xle_2018_pt_generated.dbc b/toyota_sienna_xle_2018_pt_generated.dbc index 883a45b..6b5c65a 100644 --- a/toyota_sienna_xle_2018_pt_generated.dbc +++ b/toyota_sienna_xle_2018_pt_generated.dbc @@ -388,6 +388,13 @@ BO_ 35 SECONDARY_STEER_ANGLE: 8 XXX CM_ "BO_ SECONDARY_STEER_ANGLE: ZSS is a high-precision steering angle sensor that can replace the lower resolution sensor in most TSS1 Toyotas. Learn more: https://github.com/commaai/openpilot/wiki/Toyota-Lexus#zorro-steering-sensor-zss"; +BO_ 767 SDSU: 8 XXX + SG_ FD_BUTTON : 7|1@0+ (1,0) [0|1] "" XXX + +CM_ "BO_ SDSU: The sDSU is a modified DSU for use in TSS1 Toyotas. Learn more: https://github.com/wocsor/panda/tree/smart_dsu"; + +CM_ SG_ 767 FD_BUTTON "The follow distance button signal as forwarded by the sdsu"; + CM_ "toyota_sienna_xle_2018_pt.dbc starts here";