将原有 TOYOTA_WILDLANDER 车型标识重命名为 TOYOTA_WILDLANDER_PHEV, 并更新相关指纹、平台名称和测试路由配置。同时增加该车型的 SRS 和 Hybrid ECU 固件版本信息。 此外,修改 dmonitoringd.py 中的监控逻辑,使在 always_on 模式下也能执行 DM.run_step 流程。 还更新了 launch_openpilot.sh 中的 API 和 ATHENA 服务地址。
31 lines
795 B
Python
31 lines
795 B
Python
from opendbc.car.structs import CarParams
|
|
from opendbc.car.toyota.values import CAR
|
|
|
|
Ecu = CarParams.Ecu
|
|
|
|
FW_VERSIONS_EXT = {
|
|
CAR.TOYOTA_WILDLANDER_PHEV: {
|
|
(Ecu.engine, 0x700, None): [
|
|
b'\x01896630R57001\x00\x00\x00\x00',
|
|
],
|
|
(Ecu.abs, 0x7b0, None): [
|
|
b'\x01F152642C4000\x00\x00\x00\x00',
|
|
],
|
|
(Ecu.eps, 0x7a1, None): [
|
|
b'\x018965B4221000\x00\x00\x00\x00',
|
|
],
|
|
(Ecu.fwdCamera, 0x750, 0x6d): [
|
|
b'\x028646F0R01000\x00\x00\x00\x008646G4202000\x00\x00\x00\x00',
|
|
],
|
|
(Ecu.fwdRadar, 0x750, 0xf): [
|
|
b'\x018821F3301400\x00\x00\x00\x00',
|
|
],
|
|
(Ecu.srs, 0x780, None): [
|
|
b'\x018917F0R18000\x00\x00\x00\x00'
|
|
],
|
|
(Ecu.hybrid, 0x7d2, None): [
|
|
b'\x02899830R24000\x00\x00\x00\x00899850R05000\x00\x00\x00\x00'
|
|
],
|
|
},
|
|
}
|