Chrysler: log temporary LKAS faults (#27303)

* Log temp lkas faults for non-ram

* bump to master

* add to signals

* whoops

* ... come onnnnn
pull/27300/head^2
Shane Smiskol 2 years ago committed by GitHub
parent 5831a83c90
commit c05aa0e871
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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: 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 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: else:
ret.steerFaultTemporary = cp.vl["EPS_2"]["LKAS_TEMPORARY_FAULT"] == 1
ret.steerFaultPermanent = cp.vl["EPS_2"]["LKAS_STATE"] == 4 ret.steerFaultPermanent = cp.vl["EPS_2"]["LKAS_STATE"] == 4
# blindspot sensors # blindspot sensors
@ -135,6 +136,7 @@ class CarState(CarStateBase):
("COUNTER", "EPS_2",), ("COUNTER", "EPS_2",),
("COLUMN_TORQUE", "EPS_2"), ("COLUMN_TORQUE", "EPS_2"),
("EPS_TORQUE_MOTOR", "EPS_2"), ("EPS_TORQUE_MOTOR", "EPS_2"),
("LKAS_TEMPORARY_FAULT", "EPS_2"),
("LKAS_STATE", "EPS_2"), ("LKAS_STATE", "EPS_2"),
("COUNTER", "CRUISE_BUTTONS"), ("COUNTER", "CRUISE_BUTTONS"),
] ]

Loading…
Cancel
Save