Ram 1500: more generic EPS steer to zero check (#27086)

more generic check
old-commit-hash: 4d231a9d96
beeps
Shane Smiskol 2 years ago committed by GitHub
parent 51148d7551
commit fbf2e53198
  1. 4
      selfdrive/car/chrysler/interface.py

@ -58,8 +58,8 @@ class CarInterface(CarInterfaceBase):
ret.mass = 2493. + STD_CARGO_KG
CarInterfaceBase.configure_torque_tune(candidate, ret.lateralTuning)
ret.minSteerSpeed = 14.5
for fw in car_fw:
if fw.ecu == 'eps' and fw.fwVersion.startswith((b"68312176", b"68273275")):
# Older EPS FW allow steer to zero
if any(fw.ecu == 'eps' and fw.fwVersion[:4] <= b"6831" for fw in car_fw):
ret.minSteerSpeed = 0.
elif candidate == CAR.RAM_HD:

Loading…
Cancel
Save