Subaru legacy: flip driver torque (#158)

* Subaru legacy: flip driver torque

* bump panda
This commit is contained in:
Jason Wen
2023-05-29 10:49:22 -04:00
committed by GitHub
parent 4796f674da
commit 4fc2e41c47
2 changed files with 2 additions and 2 deletions
+1 -1
Submodule panda updated: 03cc1738f0...7a02545e10
+1 -1
View File
@@ -88,7 +88,7 @@ class CarInterface(CarInterfaceBase):
CarInterfaceBase.configure_torque_tune(candidate, ret.lateralTuning)
elif candidate in (CAR.FORESTER_PREGLOBAL, CAR.OUTBACK_PREGLOBAL_2018):
ret.safetyConfigs[0].safetyParam = 1 # Outback 2018-2019 and Forester have reversed driver torque signal
ret.safetyConfigs[0].safetyParam = Panda.FLAG_SUBARU_LEGACY_FLIP_DRIVER_TORQUE # Outback 2018-2019 and Forester have reversed driver torque signal
ret.mass = 1568 + STD_CARGO_KG
ret.wheelbase = 2.67
ret.centerToFront = ret.wheelbase * 0.5