From d2f3306a46bbb4d330281ded1c0d03ee5bd6e804 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Tue, 21 Apr 2026 23:07:46 -0700 Subject: [PATCH] Tesla: hw3/4 docs --- opendbc/car/tesla/tests/test_tesla.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/opendbc/car/tesla/tests/test_tesla.py b/opendbc/car/tesla/tests/test_tesla.py index 2c7bc977d..7981f03b8 100644 --- a/opendbc/car/tesla/tests/test_tesla.py +++ b/opendbc/car/tesla/tests/test_tesla.py @@ -27,6 +27,9 @@ Ecu = CarParams.Ecu # software_major/minor : numeric components after the first '.' — conventional release numbers. # minor is optional (e.g. 'E4S014.27' has no minor). # +# Suspected (not confirmed): for M3/MY, `TeM3_*` outer + no-leading-digit variant_code == HW3, and +# `TeMYG4_*` outer + leading-'4' variant_code == HW4 (the 'G4' in TeMYG4 likely denotes Gen 4). +# # Example full parse of 'TeMYG4_Main_0.0.0 (78),E4HP015.05.0': # unknown_prefix='TeMYG4_Main_0.0.0 (78)' # platform=E variant_code=4HP015 software_major=05 software_minor=0