Skip to content

Commit

Permalink
Merge pull request commaai#732 from birdman6450/patch-11
Browse files Browse the repository at this point in the history
Update interface.py
  • Loading branch information
arne182 authored Nov 22, 2020
2 parents 12fd1a1 + 6f7da95 commit 92ac363
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 92ac363

Please sign in to comment.