Tesla: add fingerprint for Model 3 Performance HW4 (#407)

* Fingerprint Tesla Model 3 Performance HW4

Added Tesla Model 3 Performance HW4 (Highland) Fingerprint

* Tesla Model 3 Performance Fingerprint

Added Fingerprint via fingerprints_ext

* Apply suggestions from code review

* not hyundai

* wrong dir

---------

Co-authored-by: flberger1987 <fb@i-solutions.gmbh>
This commit is contained in:
Jason Wen
2026-02-13 18:03:38 -05:00
committed by GitHub
parent e5a826949b
commit a45a2861dd
2 changed files with 16 additions and 0 deletions

View File

@@ -1,6 +1,8 @@
""" AUTO-FORMATTED USING opendbc/car/debug/format_fingerprints.py, EDIT STRUCTURE THERE."""
from opendbc.car.structs import CarParams
from opendbc.car.tesla.values import CAR
from opendbc.sunnypilot.car.fingerprints_ext import merge_fw_versions
from opendbc.sunnypilot.car.tesla.fingerprints_ext import FW_VERSIONS_EXT
Ecu = CarParams.Ecu
@@ -48,3 +50,5 @@ FW_VERSIONS = {
],
},
}
FW_VERSIONS = merge_fw_versions(FW_VERSIONS, FW_VERSIONS_EXT)

View File

@@ -0,0 +1,12 @@
from opendbc.car.structs import CarParams
from opendbc.car.tesla.values import CAR
Ecu = CarParams.Ecu
FW_VERSIONS_EXT = {
CAR.TESLA_MODEL_3: {
(Ecu.eps, 0x730, None): [
b'TeMYG4_Main_0.0.0 (67),E4HP015.02.1',
],
},
}