From 40cfca97b8db4a4b59131de5284ca43e373ddc2e Mon Sep 17 00:00:00 2001 From: lucky lin <8618993@qq.com> Date: Mon, 15 Apr 2024 18:55:01 +0800 Subject: [PATCH] Update values.py --- selfdrive/car/gm/values.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/selfdrive/car/gm/values.py b/selfdrive/car/gm/values.py index f7b9b6fc..326c0b3e 100644 --- a/selfdrive/car/gm/values.py +++ b/selfdrive/car/gm/values.py @@ -122,8 +122,9 @@ class CAR(StrEnum): TRAILBLAZER_CC = "CHEVROLET TRAILBLAZER 2024 NO ACC" XT4 = "CADILLAC XT4 2023" TRAX = "CHEVROLET TRAX 2024" - BABYENCLAVE = " 昂科旗(2020-23)" - BABYAVENIR = " 昂科旗·艾维亚(2020-23)" + # 昂科旗 + BABYENCLAVE = "BUICK BABY ENCLAVE 2020" + BABYAVENIR = "BUICK BABY ENCLAVE AVENIR 2020" class Footnote(Enum): 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.XT4: GMCarInfo("Cadillac XT4 2023", "Driver Assist Package"), 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.update({CAR.VOLT_CC, CAR.BOLT_CC, CAR.EQUINOX_CC, CAR.YUKON_CC, CAR.CT6_CC, CAR.TRAILBLAZER_CC}) -STEER_THRESHOLD = 1.0 \ No newline at end of file +STEER_THRESHOLD = 1.0