|
|
|
@ -91,7 +91,6 @@ class CAR: |
|
|
|
|
ACURA_RDX = "ACURA RDX 2018" |
|
|
|
|
ACURA_RDX_3G = "ACURA RDX 2020" |
|
|
|
|
PILOT = "HONDA PILOT 2017" |
|
|
|
|
PASSPORT = "HONDA PASSPORT 2021" |
|
|
|
|
RIDGELINE = "HONDA RIDGELINE 2017" |
|
|
|
|
INSIGHT = "HONDA INSIGHT 2019" |
|
|
|
|
HONDA_E = "HONDA E 2020" |
|
|
|
@ -142,8 +141,10 @@ CAR_INFO: Dict[str, Optional[Union[HondaCarInfo, List[HondaCarInfo]]]] = { |
|
|
|
|
CAR.ODYSSEY_CHN: None, # Chinese version of Odyssey |
|
|
|
|
CAR.ACURA_RDX: HondaCarInfo("Acura RDX 2016-18", "AcuraWatch Plus", min_steer_speed=12. * CV.MPH_TO_MS), |
|
|
|
|
CAR.ACURA_RDX_3G: HondaCarInfo("Acura RDX 2019-22", "All", min_steer_speed=3. * CV.MPH_TO_MS), |
|
|
|
|
CAR.PILOT: HondaCarInfo("Honda Pilot 2016-22", min_steer_speed=12. * CV.MPH_TO_MS), |
|
|
|
|
CAR.PASSPORT: HondaCarInfo("Honda Passport 2019-21", "All", min_steer_speed=12. * CV.MPH_TO_MS), |
|
|
|
|
CAR.PILOT: [ |
|
|
|
|
HondaCarInfo("Honda Pilot 2016-22", min_steer_speed=12. * CV.MPH_TO_MS), |
|
|
|
|
HondaCarInfo("Honda Passport 2019-21", "All", min_steer_speed=12. * CV.MPH_TO_MS), |
|
|
|
|
], |
|
|
|
|
CAR.RIDGELINE: HondaCarInfo("Honda Ridgeline 2017-22", min_steer_speed=12. * CV.MPH_TO_MS), |
|
|
|
|
CAR.INSIGHT: HondaCarInfo("Honda Insight 2019-22", "All", min_steer_speed=3. * CV.MPH_TO_MS), |
|
|
|
|
CAR.HONDA_E: HondaCarInfo("Honda e 2020", "All", min_steer_speed=3. * CV.MPH_TO_MS), |
|
|
|
@ -1067,6 +1068,8 @@ FW_VERSIONS = { |
|
|
|
|
b'28101-5EZ-A060\x00\x00', |
|
|
|
|
b'28101-5EZ-A100\x00\x00', |
|
|
|
|
b'28101-5EZ-A210\x00\x00', |
|
|
|
|
b'28101-5EZ-A600\x00\x00', |
|
|
|
|
b'28101-5EZ-A430\x00\x00', |
|
|
|
|
], |
|
|
|
|
(Ecu.programmedFuelInjection, 0x18da10f1, None): [ |
|
|
|
|
b'37805-RLV-4060\x00\x00', |
|
|
|
@ -1078,6 +1081,9 @@ FW_VERSIONS = { |
|
|
|
|
b'37805-RLV-C520\x00\x00', |
|
|
|
|
b'37805-RLV-C530\x00\x00', |
|
|
|
|
b'37805-RLV-C910\x00\x00', |
|
|
|
|
b'37805-RLV-B220\x00\x00', |
|
|
|
|
b'37805-RLV-B210\x00\x00', |
|
|
|
|
b'37805-RLV-L160\x00\x00', |
|
|
|
|
], |
|
|
|
|
(Ecu.gateway, 0x18daeff1, None): [ |
|
|
|
|
b'38897-TG7-A030\x00\x00', |
|
|
|
@ -1110,6 +1116,7 @@ FW_VERSIONS = { |
|
|
|
|
b'36161-TGS-A130\x00\x00', |
|
|
|
|
b'36161-TGT-A030\x00\x00', |
|
|
|
|
b'36161-TGT-A130\x00\x00', |
|
|
|
|
b'36161-TGS-A030\x00\x00', |
|
|
|
|
], |
|
|
|
|
(Ecu.srs, 0x18da53f1, None): [ |
|
|
|
|
b'77959-TG7-A020\x00\x00', |
|
|
|
@ -1147,6 +1154,9 @@ FW_VERSIONS = { |
|
|
|
|
b'78109-TGS-AP20\x00\x00', |
|
|
|
|
b'78109-TGT-AJ20\x00\x00', |
|
|
|
|
b'78109-TGT-AK30\x00\x00', |
|
|
|
|
b'78109-TGS-AT20\x00\x00', |
|
|
|
|
b'78109-TGS-AX20\x00\x00', |
|
|
|
|
b'78109-TGS-AJ20\x00\x00', |
|
|
|
|
], |
|
|
|
|
(Ecu.vsa, 0x18da28f1, None): [ |
|
|
|
|
b'57114-TG7-A130\x00\x00', |
|
|
|
@ -1163,42 +1173,6 @@ FW_VERSIONS = { |
|
|
|
|
b'57114-TGT-A530\x00\x00', |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
CAR.PASSPORT: { |
|
|
|
|
(Ecu.programmedFuelInjection, 0x18da10f1, None): [ |
|
|
|
|
b'37805-RLV-B220\x00\x00', |
|
|
|
|
b'37805-RLV-B210\x00\x00', |
|
|
|
|
b'37805-RLV-L160\x00\x00', |
|
|
|
|
], |
|
|
|
|
(Ecu.eps, 0x18da30f1, None): [ |
|
|
|
|
b'39990-TGS-A230\x00\x00', |
|
|
|
|
], |
|
|
|
|
(Ecu.fwdRadar, 0x18dab0f1, None): [ |
|
|
|
|
b'36161-TGS-A030\x00\x00', |
|
|
|
|
b'36161-TGS-A130\x00\x00', |
|
|
|
|
], |
|
|
|
|
(Ecu.gateway, 0x18daeff1, None): [ |
|
|
|
|
b'38897-TG7-A040\x00\x00', |
|
|
|
|
b'38897-TG7-A030\x00\x00', |
|
|
|
|
], |
|
|
|
|
(Ecu.srs, 0x18da53f1, None): [ |
|
|
|
|
b'77959-TGS-A010\x00\x00', |
|
|
|
|
], |
|
|
|
|
(Ecu.shiftByWire, 0x18da0bf1, None): [ |
|
|
|
|
b'54008-TG7-A530\x00\x00', |
|
|
|
|
], |
|
|
|
|
(Ecu.transmission, 0x18da1ef1, None): [ |
|
|
|
|
b'28101-5EZ-A600\x00\x00', |
|
|
|
|
b'28101-5EZ-A430\x00\x00', |
|
|
|
|
], |
|
|
|
|
(Ecu.combinationMeter, 0x18da60f1, None): [ |
|
|
|
|
b'78109-TGS-AT20\x00\x00', |
|
|
|
|
b'78109-TGS-AX20\x00\x00', |
|
|
|
|
b'78109-TGS-AJ20\x00\x00', |
|
|
|
|
], |
|
|
|
|
(Ecu.vsa, 0x18da28f1, None): [ |
|
|
|
|
b'57114-TGS-A530\x00\x00', |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
CAR.ACURA_RDX: { |
|
|
|
|
(Ecu.vsa, 0x18da28f1, None): [ |
|
|
|
|
b'57114-TX5-A220\x00\x00', |
|
|
|
@ -1499,7 +1473,6 @@ DBC = { |
|
|
|
|
CAR.ODYSSEY: dbc_dict('honda_odyssey_exl_2018_generated', 'acura_ilx_2016_nidec'), |
|
|
|
|
CAR.ODYSSEY_CHN: dbc_dict('honda_odyssey_extreme_edition_2018_china_can_generated', 'acura_ilx_2016_nidec'), |
|
|
|
|
CAR.PILOT: dbc_dict('acura_ilx_2016_can_generated', 'acura_ilx_2016_nidec'), |
|
|
|
|
CAR.PASSPORT: dbc_dict('acura_ilx_2016_can_generated', 'acura_ilx_2016_nidec'), |
|
|
|
|
CAR.RIDGELINE: dbc_dict('acura_ilx_2016_can_generated', 'acura_ilx_2016_nidec'), |
|
|
|
|
CAR.INSIGHT: dbc_dict('honda_insight_ex_2019_can_generated', None), |
|
|
|
|
CAR.HONDA_E: dbc_dict('acura_rdx_2020_can_generated', None), |
|
|
|
@ -1514,7 +1487,7 @@ STEER_THRESHOLD = { |
|
|
|
|
|
|
|
|
|
HONDA_NIDEC_ALT_PCM_ACCEL = {CAR.ODYSSEY} |
|
|
|
|
HONDA_NIDEC_ALT_SCM_MESSAGES = {CAR.ACURA_ILX, CAR.ACURA_RDX, CAR.CRV, CAR.CRV_EU, CAR.FIT, CAR.FREED, CAR.HRV, CAR.ODYSSEY_CHN, |
|
|
|
|
CAR.PILOT, CAR.PASSPORT, CAR.RIDGELINE} |
|
|
|
|
CAR.PILOT, CAR.RIDGELINE} |
|
|
|
|
HONDA_BOSCH = {CAR.ACCORD, CAR.ACCORDH, CAR.CIVIC_BOSCH, CAR.CIVIC_BOSCH_DIESEL, CAR.CRV_5G, |
|
|
|
|
CAR.CRV_HYBRID, CAR.INSIGHT, CAR.ACURA_RDX_3G, CAR.HONDA_E, CAR.CIVIC_2022} |
|
|
|
|
HONDA_BOSCH_ALT_BRAKE_SIGNAL = {CAR.ACCORD, CAR.CRV_5G, CAR.ACURA_RDX_3G} |
|
|
|
|