Chrylser: some Ram 1500 can steer to 0 (#25279)

pull/25282/head
Adeeb Shihadeh 3 years ago committed by GitHub
parent 347455325e
commit 5101a7cf88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      selfdrive/car/chrysler/interface.py
  2. 2
      selfdrive/test/process_replay/ref_commit

@ -51,10 +51,13 @@ class CarInterface(CarInterfaceBase):
ret.wheelbase = 3.88 ret.wheelbase = 3.88
ret.steerRatio = 16.3 ret.steerRatio = 16.3
ret.mass = 2493. + STD_CARGO_KG ret.mass = 2493. + STD_CARGO_KG
ret.maxLateralAccel = 2.4
ret.minSteerSpeed = 14.5
CarInterfaceBase.configure_torque_tune(candidate, ret.lateralTuning) CarInterfaceBase.configure_torque_tune(candidate, ret.lateralTuning)
ret.minSteerSpeed = 14.5
if car_fw is not None:
for fw in car_fw:
if fw.ecu == 'eps' and fw.fwVersion in (b"68312176AE", b"68312176AG", b"68273275AG"):
ret.minSteerSpeed = 0.
else: else:
raise ValueError(f"Unsupported car: {candidate}") raise ValueError(f"Unsupported car: {candidate}")

@ -1 +1 @@
2da0446f3cc0c4fd705f7b199ed1d9e6341fc466 66790e176b98244bb76ce19fb1aa943b36c87dec
Loading…
Cancel
Save