Chrysler: log temporary LKAS faults (#27303)

* Log temp lkas faults for non-ram

* bump to master

* add to signals

* whoops

* ... come onnnnn
This commit is contained in:
Shane Smiskol
2023-02-10 16:32:21 -08:00
committed by GitHub
parent 5831a83c90
commit c05aa0e871
2 changed files with 4 additions and 2 deletions
+1 -1
Submodule opendbc updated: d103b156b3...6eab6cf6ad
+3 -1
View File
@@ -81,8 +81,9 @@ class CarState(CarStateBase):
if self.CP.carFingerprint in RAM_CARS:
self.auto_high_beam = cp_cam.vl["DAS_6"]['AUTO_HIGH_BEAM_ON'] # Auto High Beam isn't Located in this message on chrysler or jeep currently located in 729 message
ret.steerFaultTemporary = cp.vl["EPS_3"]["DASM_FAULT"] == 1
ret.steerFaultTemporary = cp.vl["EPS_3"]["DASM_FAULT"] == 1
else:
ret.steerFaultTemporary = cp.vl["EPS_2"]["LKAS_TEMPORARY_FAULT"] == 1
ret.steerFaultPermanent = cp.vl["EPS_2"]["LKAS_STATE"] == 4
# blindspot sensors
@@ -135,6 +136,7 @@ class CarState(CarStateBase):
("COUNTER", "EPS_2",),
("COLUMN_TORQUE", "EPS_2"),
("EPS_TORQUE_MOTOR", "EPS_2"),
("LKAS_TEMPORARY_FAULT", "EPS_2"),
("LKAS_STATE", "EPS_2"),
("COUNTER", "CRUISE_BUTTONS"),
]