Skip to content

Commit

Permalink
Update interface.py
Browse files Browse the repository at this point in the history
retrying to add if corolla tss2 d tuning to interface
  • Loading branch information
oppilot authored Sep 5, 2020
1 parent 8bb4eb0 commit 1273f40
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions selfdrive/car/toyota/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,11 @@ def get_params(candidate, fingerprint=gen_empty_fingerprint(), has_relay=False,
ret.lateralTuning.indi.outerLoopGain = 15.0
ret.lateralTuning.indi.timeConstant = 5.5
ret.lateralTuning.indi.actuatorEffectiveness = 6.0
if corolla_tss2_d_tuning:
ret.lateralTuning.pid.kpV, ret.lateralTuning.pid.kiV = [[0.6], [0.1]]
ret.lateralTuning.pid.kdBP = [0.]
ret.lateralTuning.pid.kdV = [9.0]
ret.lateralTuning.pid.kf = 0.00007818594

elif candidate in [CAR.LEXUS_ES_TSS2, CAR.LEXUS_ESH_TSS2]:
stop_and_go = True
Expand Down

0 comments on commit 1273f40

Please sign in to comment.