mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-27 08:52:05 +08:00
Camry TSS2: use torque controller (#24268)
* use measurements from harald * update from table * average of hybrid and non-hybrid
This commit is contained in:
@@ -87,7 +87,10 @@ class CarInterface(CarInterfaceBase):
|
||||
ret.steerRatio = 13.7
|
||||
tire_stiffness_factor = 0.7933
|
||||
ret.mass = 3400. * CV.LB_TO_KG + STD_CARGO_KG # mean between normal and hybrid
|
||||
set_lat_tune(ret.lateralTuning, LatTunes.PID_C)
|
||||
if candidate in (CAR.CAMRY_TSS2, CAR.CAMRYH_TSS2):
|
||||
set_lat_tune(ret.lateralTuning, LatTunes.TORQUE, MAX_LAT_ACCEL=2.4, FRICTION=0.05)
|
||||
else:
|
||||
set_lat_tune(ret.lateralTuning, LatTunes.PID_C)
|
||||
|
||||
elif candidate in (CAR.HIGHLANDER_TSS2, CAR.HIGHLANDERH_TSS2):
|
||||
stop_and_go = True
|
||||
|
||||
Reference in New Issue
Block a user