Move over all tss2 long tunes (#23108)

* add all rest

* just commit to all TSS2

* forgot this line
old-commit-hash: 7257f71739
commatwo_master
HaraldSchafer 3 years ago committed by GitHub
parent c90287391a
commit d706b3d8d4
  1. 3
      selfdrive/car/toyota/interface.py

@ -244,8 +244,7 @@ class CarInterface(CarInterfaceBase):
if ret.enableGasInterceptor:
set_long_tune(ret.longitudinalTuning, LongTunes.PEDAL)
elif candidate in [CAR.COROLLA_TSS2, CAR.COROLLAH_TSS2, CAR.RAV4_TSS2, CAR.RAV4H_TSS2, CAR.LEXUS_NX_TSS2,
CAR.HIGHLANDER_TSS2, CAR.HIGHLANDERH_TSS2, CAR.PRIUS_TSS2]:
elif candidate in TSS2_CAR:
set_long_tune(ret.longitudinalTuning, LongTunes.TSS2)
ret.stoppingDecelRate = 0.3 # reach stopping target smoothly
ret.startingAccelRate = 6.0 # release brakes fast

Loading…
Cancel
Save