Skip to content

Commit

Permalink
Update interface.py
Browse files Browse the repository at this point in the history
updated spairrowtuning for corolla tss2
  • Loading branch information
birdman6450 authored Nov 22, 2020
1 parent 12fd1a1 commit 6f7da95
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions selfdrive/car/toyota/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,11 +309,11 @@ def get_params(candidate, fingerprint=gen_empty_fingerprint(), has_relay=False,
ret.steerLimitTimer = 5.0
tire_stiffness_factor = 0.996 # not optimized yet
ret.lateralTuning.init('indi')
ret.lateralTuning.indi.innerLoopGain = 9.0
ret.lateralTuning.indi.innerLoopGain = 15.0
ret.lateralTuning.indi.outerLoopGainBP = [20, 21, 25 ,26]
ret.lateralTuning.indi.outerLoopGainV = [5.0, 9.0, 9.0, 15.0]
ret.lateralTuning.indi.outerLoopGainV = [5.0, 9.0, 9.0, 14.99]
ret.lateralTuning.indi.timeConstant = 5.5
ret.lateralTuning.indi.actuatorEffectiveness = 9.0
ret.lateralTuning.indi.actuatorEffectiveness = 15.0
else:
ret.lateralTuning.pid.kpV, ret.lateralTuning.pid.kiV = [[0.5], [0.1]]
ret.lateralTuning.pid.kfV = [0.00007818594]
Expand All @@ -339,11 +339,11 @@ def get_params(candidate, fingerprint=gen_empty_fingerprint(), has_relay=False,
ret.steerLimitTimer = 5.0
tire_stiffness_factor = 0.996 # not optimized yet
ret.lateralTuning.init('indi')
ret.lateralTuning.indi.innerLoopGain = 9.0
ret.lateralTuning.indi.innerLoopGain = 15.0
ret.lateralTuning.indi.outerLoopGainBP = [20, 21, 25 ,26]
ret.lateralTuning.indi.outerLoopGainV = [5.0, 9.0, 9.0, 15.0]
ret.lateralTuning.indi.outerLoopGainV = [5.0, 9.0, 9.0, 14.99]
ret.lateralTuning.indi.timeConstant = 5.5
ret.lateralTuning.indi.actuatorEffectiveness = 9.0
ret.lateralTuning.indi.actuatorEffectiveness = 15.0
else:
ret.lateralTuning.pid.kpV, ret.lateralTuning.pid.kiV = [[0.5], [0.1]]
ret.lateralTuning.pid.kfV = [0.00007818594]
Expand Down

0 comments on commit 6f7da95

Please sign in to comment.