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

* forester rate limited

* better comment

* better comment
pull/30394/head
Justin Newberry 1 year ago committed by GitHub
parent 08054e9800
commit ace14698c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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} HYBRID_CARS = {CAR.CROSSTREK_HYBRID, CAR.FORESTER_HYBRID}
# Cars that temporarily fault when steering angle rate is greater than some threshold. # Cars that temporarily fault when steering angle rate is greater than some threshold.
# Appears to be all cars that started production after 2020 # Appears to be all torque-based cars produced around 2019 - present
STEER_RATE_LIMITED = GLOBAL_GEN2 | {CAR.IMPREZA_2020} STEER_RATE_LIMITED = GLOBAL_GEN2 | {CAR.IMPREZA_2020, CAR.FORESTER}

Loading…
Cancel
Save