mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-30 02:52:04 +08:00
Ram 1500: more generic EPS steer to zero check (#27086)
more generic check old-commit-hash: 4d231a9d96a54ba0ed163e4aa487876f811a97cb
This commit is contained in:
@@ -58,9 +58,9 @@ 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")):
|
||||
ret.minSteerSpeed = 0.
|
||||
# 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:
|
||||
ret.steerActuatorDelay = 0.2
|
||||
|
||||
Reference in New Issue
Block a user