Subaru: 2019-2020 forester is also rate limited (#30391)

* forester rate limited

* better comment

* better comment
old-commit-hash: ace14698c4
testing-closet
Justin Newberry 1 year ago committed by GitHub
parent 634d21504b
commit 605b5e264e
  1. 4
      selfdrive/car/subaru/values.py

@ -725,5 +725,5 @@ PREGLOBAL_CARS = {CAR.FORESTER_PREGLOBAL, CAR.LEGACY_PREGLOBAL, CAR.OUTBACK_PREG
HYBRID_CARS = {CAR.CROSSTREK_HYBRID, CAR.FORESTER_HYBRID}
# Cars that temporarily fault when steering angle rate is greater than some threshold.
# Appears to be all cars that started production after 2020
STEER_RATE_LIMITED = GLOBAL_GEN2 | {CAR.IMPREZA_2020}
# Appears to be all torque-based cars produced around 2019 - present
STEER_RATE_LIMITED = GLOBAL_GEN2 | {CAR.IMPREZA_2020, CAR.FORESTER}

Loading…
Cancel
Save