mirror of https://github.com/1okko/openpilot.git
parent
c4df40a04a
commit
7ceccaf6c3
2
opendbc
2
opendbc
|
@ -1 +1 @@
|
|||
Subproject commit 8d2f614ce3f323c65de802b2d5f29143de9c427b
|
||||
Subproject commit 4ab347baefb7473771ada0723c969c50d0c28d01
|
|
@ -98,7 +98,7 @@ class CarState(CarStateBase):
|
|||
ret.leftBlinker = pt_cp.vl["BCMTurnSignals"]["TurnSignals"] == 1
|
||||
ret.rightBlinker = pt_cp.vl["BCMTurnSignals"]["TurnSignals"] == 2
|
||||
|
||||
ret.parkingBrake = pt_cp.vl["VehicleIgnitionAlt"]["ParkBrake"] == 1
|
||||
ret.parkingBrake = pt_cp.vl["BCMGeneralPlatformStatus"]["ParkBrakeSwActive"] == 1
|
||||
ret.cruiseState.available = pt_cp.vl["ECMEngineStatus"]["CruiseMainOn"] != 0
|
||||
ret.espDisabled = pt_cp.vl["ESPStatus"]["TractionControlOn"] != 1
|
||||
ret.accFaulted = (pt_cp.vl["AcceleratorPedal2"]["CruiseState"] == AccState.FAULTED or
|
||||
|
@ -135,7 +135,7 @@ class CarState(CarStateBase):
|
|||
("PSCMStatus", 10),
|
||||
("ESPStatus", 10),
|
||||
("BCMDoorBeltStatus", 10),
|
||||
("VehicleIgnitionAlt", 10),
|
||||
("BCMGeneralPlatformStatus", 10),
|
||||
("EBCMWheelSpdFront", 20),
|
||||
("EBCMWheelSpdRear", 20),
|
||||
("EBCMFrictionBrakeStatus", 20),
|
||||
|
|
Loading…
Reference in New Issue