mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-03-02 17:13:53 +08:00
Chrysler: fix steer fault detection (#25068)
This commit is contained in:
@@ -83,8 +83,7 @@ class CarState(CarStateBase):
|
||||
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
|
||||
else:
|
||||
steer_state = cp.vl["EPS_2"]["LKAS_STATE"]
|
||||
ret.steerFaultPermanent = steer_state == 4 or (steer_state == 0 and ret.vEgo > self.CP.minSteerSpeed)
|
||||
ret.steerFaultPermanent = cp.vl["EPS_2"]["LKAS_STATE"] == 4
|
||||
|
||||
# blindspot sensors
|
||||
if self.CP.enableBsm:
|
||||
|
||||
Reference in New Issue
Block a user