Skip to content

Commit

Permalink
Move over all tss2 long tunes (commaai#23108)
Browse files Browse the repository at this point in the history
* add all rest

* just commit to all TSS2

* forgot this line
  • Loading branch information
haraschax authored Jan 4, 2022
1 parent d3f064f commit 7257f71
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions selfdrive/car/toyota/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7257f71

Please sign in to comment.