mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-03 12:32:06 +08:00
Hyundai CAN FD DBC update (#28322)
old-commit-hash: 3f61537d1b7b33ee0a1104ca6a47bf323bf31c4b
This commit is contained in:
+1
-1
Submodule opendbc updated: 8faada0494...2db0483993
@@ -173,8 +173,8 @@ class CarState(CarStateBase):
|
||||
|
||||
ret.brakePressed = cp.vl["TCS"]["DriverBraking"] == 1
|
||||
|
||||
ret.doorOpen = cp.vl["DOORS_SEATBELTS"]["DRIVER_DOOR_OPEN"] == 1
|
||||
ret.seatbeltUnlatched = cp.vl["DOORS_SEATBELTS"]["DRIVER_SEATBELT_LATCHED"] == 0
|
||||
ret.doorOpen = cp.vl["DOORS_SEATBELTS"]["DRIVER_DOOR"] == 1
|
||||
ret.seatbeltUnlatched = cp.vl["DOORS_SEATBELTS"]["DRIVER_SEATBELT"] == 0
|
||||
|
||||
gear = cp.vl[self.gear_msg_canfd]["GEAR"]
|
||||
ret.gearShifter = self.parse_gear_shifter(self.shifter_values.get(gear))
|
||||
@@ -457,8 +457,8 @@ class CarState(CarStateBase):
|
||||
("LEFT_LAMP", "BLINKERS"),
|
||||
("RIGHT_LAMP", "BLINKERS"),
|
||||
|
||||
("DRIVER_DOOR_OPEN", "DOORS_SEATBELTS"),
|
||||
("DRIVER_SEATBELT_LATCHED", "DOORS_SEATBELTS"),
|
||||
("DRIVER_DOOR", "DOORS_SEATBELTS"),
|
||||
("DRIVER_SEATBELT", "DOORS_SEATBELTS"),
|
||||
]
|
||||
|
||||
checks = [
|
||||
|
||||
Reference in New Issue
Block a user