mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-30 19:33:45 +08:00
6d316f2bc7
date: 2024-06-11T01:36:39 master commit: f8cb04e4a8b032b72a909f68b808a50936184bee
33 lines
820 B
Python
33 lines
820 B
Python
from cereal import car
|
|
from openpilot.selfdrive.car.tesla.values import CAR
|
|
|
|
Ecu = car.CarParams.Ecu
|
|
|
|
FW_VERSIONS = {
|
|
CAR.TESLA_AP2_MODELS: {
|
|
(Ecu.adas, 0x649, None): [
|
|
b'\x01\x00\x8b\x07\x01\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11',
|
|
],
|
|
(Ecu.electricBrakeBooster, 0x64d, None): [
|
|
b'1037123-00-A',
|
|
],
|
|
(Ecu.fwdRadar, 0x671, None): [
|
|
b'\x01\x00W\x00\x00\x00\x07\x00\x00\x00\x00\x08\x01\x00\x00\x00\x07\xff\xfe',
|
|
],
|
|
(Ecu.eps, 0x730, None): [
|
|
b'\x10#\x01',
|
|
],
|
|
},
|
|
CAR.TESLA_MODELS_RAVEN: {
|
|
(Ecu.electricBrakeBooster, 0x64d, None): [
|
|
b'1037123-00-A',
|
|
],
|
|
(Ecu.fwdRadar, 0x671, None): [
|
|
b'\x01\x00\x99\x02\x01\x00\x10\x00\x00AP8.3.03\x00\x10',
|
|
],
|
|
(Ecu.eps, 0x730, None): [
|
|
b'SX_0.0.0 (99),SR013.7',
|
|
],
|
|
},
|
|
}
|