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

use torque controller for tssp corolla

Co-authored-by: ntegan <nick.egan.gg>
pull/24632/head
ntegan1 3 years ago committed by GitHub
parent 2c2e0ae8a7
commit 7115f1f7c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/car/toyota/interface.py

@ -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

Loading…
Cancel
Save