Update values.py

This commit is contained in:
lucky lin 2024-04-15 18:55:01 +08:00 committed by GitHub
parent e73c6f51d0
commit 40cfca97b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 5 deletions

View File

@ -122,8 +122,9 @@ class CAR(StrEnum):
TRAILBLAZER_CC = "CHEVROLET TRAILBLAZER 2024 NO ACC" TRAILBLAZER_CC = "CHEVROLET TRAILBLAZER 2024 NO ACC"
XT4 = "CADILLAC XT4 2023" XT4 = "CADILLAC XT4 2023"
TRAX = "CHEVROLET TRAX 2024" TRAX = "CHEVROLET TRAX 2024"
BABYENCLAVE = " 昂科旗(2020-23)" # 昂科旗
BABYAVENIR = " 昂科旗·艾维亚(2020-23)" BABYENCLAVE = "BUICK BABY ENCLAVE 2020"
BABYAVENIR = "BUICK BABY ENCLAVE AVENIR 2020"
class Footnote(Enum): class Footnote(Enum):
OBD_II = CarFootnote( OBD_II = CarFootnote(
@ -176,8 +177,9 @@ CAR_INFO: Dict[str, Union[GMCarInfo, List[GMCarInfo]]] = {
CAR.TRAILBLAZER_CC: GMCarInfo("Chevrolet Trailblazer 2024 No ACC"), CAR.TRAILBLAZER_CC: GMCarInfo("Chevrolet Trailblazer 2024 No ACC"),
CAR.XT4: GMCarInfo("Cadillac XT4 2023", "Driver Assist Package"), CAR.XT4: GMCarInfo("Cadillac XT4 2023", "Driver Assist Package"),
CAR.TRAX: GMCarInfo("Chevrolet TRAX 2024"), CAR.TRAX: GMCarInfo("Chevrolet TRAX 2024"),
CAR.BABYENCLAVE: GMCarInfo(" 昂科旗(2020-23)"), # 昂科旗
CAR.BABYAVENIR: GMCarInfo(" 昂科旗·艾维亚(2020-23)"), CAR.BABYENCLAVE: GMCarInfo("BUICK BABY ENCLAVE 2020"),
CAR.BABYAVENIR: GMCarInfo("BUICK BABY ENCLAVE AVENIR 2020"),
} }
@ -263,4 +265,4 @@ SLOW_ACC = {CAR.SILVERADO}
CAMERA_ACC_CAR = {CAR.BOLT_EUV, CAR.SILVERADO, CAR.EQUINOX, CAR.TRAILBLAZER, CAR.TRAX} CAMERA_ACC_CAR = {CAR.BOLT_EUV, CAR.SILVERADO, CAR.EQUINOX, CAR.TRAILBLAZER, CAR.TRAX}
CAMERA_ACC_CAR.update({CAR.VOLT_CC, CAR.BOLT_CC, CAR.EQUINOX_CC, CAR.YUKON_CC, CAR.CT6_CC, CAR.TRAILBLAZER_CC}) CAMERA_ACC_CAR.update({CAR.VOLT_CC, CAR.BOLT_CC, CAR.EQUINOX_CC, CAR.YUKON_CC, CAR.CT6_CC, CAR.TRAILBLAZER_CC})
STEER_THRESHOLD = 1.0 STEER_THRESHOLD = 1.0