martinl / openpilot

Open source driving agent - Subaru fork
https://github.com/martinl/openpilot/wiki/
MIT License
70 stars 72 forks source link

Update substitute.yaml to support Subaru Forester 2022 - 2023 #115

Closed fairhurt closed 1 year ago

fairhurt commented 1 year ago

Ran into a bug where my 2022 Subaru Forester failed to match the substitute value when checking torque params in interfaces.py/get_torque_params(). It fingerprinted with the candidate "SUBARU FORESTER 2022 - 2023" but since substitute.py only has "SUBARU FORESTER 2022" it failed to map. This fixed the issue and allowed openpilot to correctly map to the torque params. Attached is the tmux output of the error for reference.

image

martinl commented 1 year ago

Thanks for pointing it out, I reverted the value change in values.py