From 7257f717397ba98b5fa2c298f40fe04f692fd8e6 Mon Sep 17 00:00:00 2001 From: HaraldSchafer Date: Tue, 4 Jan 2022 13:51:05 -0800 Subject: [PATCH] Move over all tss2 long tunes (#23108) * add all rest * just commit to all TSS2 * forgot this line --- selfdrive/car/toyota/interface.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/selfdrive/car/toyota/interface.py b/selfdrive/car/toyota/interface.py index 5c13d2b1b0f121..82e7523c7b7b85 100755 --- a/selfdrive/car/toyota/interface.py +++ b/selfdrive/car/toyota/interface.py @@ -244,8 +244,7 @@ def get_params(candidate, fingerprint=gen_empty_fingerprint(), car_fw=[]): # py 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