Chrysler: log temporary LKAS faults (#27303)

* Log temp lkas faults for non-ram

* bump to master

* add to signals

* whoops

* ... come onnnnn
old-commit-hash: c05aa0e871
beeps
Shane Smiskol 2 years ago committed by GitHub
parent 698c6e6624
commit 814ffe19f6
  1. 2
      opendbc
  2. 4
      selfdrive/car/chrysler/carstate.py

@ -1 +1 @@
Subproject commit d103b156b36f2bc9d0d6ad9ba1af02a42ecc2b46
Subproject commit 6eab6cf6ad5ac69539037f4508582fbfaf239eab

@ -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"),
]

Loading…
Cancel
Save