TSS-P Corolla: use torque lateral control (#24291)

use torque controller for tssp corolla

Co-authored-by: ntegan <nick.egan.gg>
old-commit-hash: 7115f1f7c8e43a4e97fcb7bfb51f84b45eaedc6f
This commit is contained in:
ntegan1
2022-05-27 18:11:16 -04:00
committed by GitHub
parent dd31e31181
commit 44ae448563
+1 -1
View File
@@ -61,7 +61,7 @@ class CarInterface(CarInterfaceBase):
ret.steerRatio = 18.27
tire_stiffness_factor = 0.444 # not optimized yet
ret.mass = 2860. * CV.LB_TO_KG + STD_CARGO_KG # mean between normal and hybrid
set_lat_tune(ret.lateralTuning, LatTunes.PID_A)
set_lat_tune(ret.lateralTuning, LatTunes.TORQUE, MAX_LAT_ACCEL=2.8, FRICTION=0.024)
elif candidate in (CAR.LEXUS_RX, CAR.LEXUS_RXH, CAR.LEXUS_RX_TSS2, CAR.LEXUS_RXH_TSS2):
stop_and_go = True