@ -81,6 +81,7 @@ class CAR(StrEnum):
LEXUS_IS_TSS2 = " LEXUS IS 2023 "
LEXUS_IS_TSS2 = " LEXUS IS 2023 "
LEXUS_NX = " LEXUS NX 2018 "
LEXUS_NX = " LEXUS NX 2018 "
LEXUS_NX_TSS2 = " LEXUS NX 2020 "
LEXUS_NX_TSS2 = " LEXUS NX 2020 "
LEXUS_LC_TSS2 = " LEXUS LC 2024 "
LEXUS_RC = " LEXUS RC 2020 "
LEXUS_RC = " LEXUS RC 2020 "
LEXUS_RX = " LEXUS RX 2016 "
LEXUS_RX = " LEXUS RX 2016 "
LEXUS_RX_TSS2 = " LEXUS RX 2020 "
LEXUS_RX_TSS2 = " LEXUS RX 2020 "
@ -206,6 +207,7 @@ CAR_INFO: Dict[str, Union[ToyotaCarInfo, List[ToyotaCarInfo]]] = {
ToyotaCarInfo ( " Lexus NX 2020-21 " ) ,
ToyotaCarInfo ( " Lexus NX 2020-21 " ) ,
ToyotaCarInfo ( " Lexus NX Hybrid 2020-21 " ) ,
ToyotaCarInfo ( " Lexus NX Hybrid 2020-21 " ) ,
] ,
] ,
CAR . LEXUS_LC_TSS2 : ToyotaCarInfo ( " Lexus LC 2024 " ) ,
CAR . LEXUS_RC : ToyotaCarInfo ( " Lexus RC 2018-20 " ) ,
CAR . LEXUS_RC : ToyotaCarInfo ( " Lexus RC 2018-20 " ) ,
CAR . LEXUS_RX : [
CAR . LEXUS_RX : [
ToyotaCarInfo ( " Lexus RX 2016 " , " Lexus Safety System+ " ) ,
ToyotaCarInfo ( " Lexus RX 2016 " , " Lexus Safety System+ " ) ,
@ -444,6 +446,7 @@ DBC = {
CAR . PRIUS : dbc_dict ( ' toyota_nodsu_pt_generated ' , ' toyota_adas ' ) ,
CAR . PRIUS : dbc_dict ( ' toyota_nodsu_pt_generated ' , ' toyota_adas ' ) ,
CAR . PRIUS_V : dbc_dict ( ' toyota_new_mc_pt_generated ' , ' toyota_adas ' ) ,
CAR . PRIUS_V : dbc_dict ( ' toyota_new_mc_pt_generated ' , ' toyota_adas ' ) ,
CAR . COROLLA : dbc_dict ( ' toyota_new_mc_pt_generated ' , ' toyota_adas ' ) ,
CAR . COROLLA : dbc_dict ( ' toyota_new_mc_pt_generated ' , ' toyota_adas ' ) ,
CAR . LEXUS_LC_TSS2 : dbc_dict ( ' toyota_nodsu_pt_generated ' , ' toyota_tss2_adas ' ) ,
CAR . LEXUS_RC : dbc_dict ( ' toyota_tnga_k_pt_generated ' , ' toyota_adas ' ) ,
CAR . LEXUS_RC : dbc_dict ( ' toyota_tnga_k_pt_generated ' , ' toyota_adas ' ) ,
CAR . LEXUS_RX : dbc_dict ( ' toyota_tnga_k_pt_generated ' , ' toyota_adas ' ) ,
CAR . LEXUS_RX : dbc_dict ( ' toyota_tnga_k_pt_generated ' , ' toyota_adas ' ) ,
CAR . LEXUS_RX_TSS2 : dbc_dict ( ' toyota_nodsu_pt_generated ' , ' toyota_tss2_adas ' ) ,
CAR . LEXUS_RX_TSS2 : dbc_dict ( ' toyota_nodsu_pt_generated ' , ' toyota_tss2_adas ' ) ,
@ -480,7 +483,8 @@ EPS_SCALE = defaultdict(lambda: 73, {CAR.PRIUS: 66, CAR.COROLLA: 88, CAR.LEXUS_I
# Toyota/Lexus Safety Sense 2.0 and 2.5
# Toyota/Lexus Safety Sense 2.0 and 2.5
TSS2_CAR = { CAR . RAV4_TSS2 , CAR . RAV4_TSS2_2022 , CAR . RAV4_TSS2_2023 , CAR . COROLLA_TSS2 , CAR . LEXUS_ES_TSS2 ,
TSS2_CAR = { CAR . RAV4_TSS2 , CAR . RAV4_TSS2_2022 , CAR . RAV4_TSS2_2023 , CAR . COROLLA_TSS2 , CAR . LEXUS_ES_TSS2 ,
CAR . LEXUS_RX_TSS2 , CAR . HIGHLANDER_TSS2 , CAR . PRIUS_TSS2 , CAR . CAMRY_TSS2 , CAR . LEXUS_IS_TSS2 ,
CAR . LEXUS_RX_TSS2 , CAR . HIGHLANDER_TSS2 , CAR . PRIUS_TSS2 , CAR . CAMRY_TSS2 , CAR . LEXUS_IS_TSS2 ,
CAR . MIRAI , CAR . LEXUS_NX_TSS2 , CAR . ALPHARD_TSS2 , CAR . AVALON_TSS2 , CAR . CHR_TSS2 }
CAR . MIRAI , CAR . LEXUS_NX_TSS2 , CAR . LEXUS_LC_TSS2 , CAR . ALPHARD_TSS2 , CAR . AVALON_TSS2 ,
CAR . CHR_TSS2 }
NO_DSU_CAR = TSS2_CAR | { CAR . CHR , CAR . CAMRY }
NO_DSU_CAR = TSS2_CAR | { CAR . CHR , CAR . CAMRY }