Toyota: unify deadzone params (#26325)

* i'm sure this makes no difference

* update refs
old-commit-hash: 423d16693a
taco
Shane Smiskol 3 years ago committed by GitHub
parent 59090b598f
commit a230015754
  1. 8
      selfdrive/car/toyota/interface.py
  2. 2
      selfdrive/test/process_replay/ref_commit

@ -208,18 +208,16 @@ class CarInterface(CarInterfaceBase):
ret.minEnableSpeed = -1. if (stop_and_go or ret.enableGasInterceptor) else MIN_ACC_SPEED
tune = ret.longitudinalTuning
tune.deadzoneBP = [0., 9.]
tune.deadzoneV = [.0, .15]
if candidate in TSS2_CAR or ret.enableGasInterceptor:
tune.deadzoneBP = [0., 8.05]
tune.deadzoneV = [.0, .14]
tune.kpBP = [0., 5., 20.]
tune.kpV = [1.3, 1.0, 0.7]
tune.kiBP = [0., 5., 12., 20., 27.]
tune.kiV = [.35, .23, .20, .17, .1]
if candidate in TSS2_CAR:
ret.stoppingDecelRate = 0.3 # reach stopping target smoothly
ret.stoppingDecelRate = 0.3 # reach stopping target smoothly
else:
tune.deadzoneBP = [0., 9.]
tune.deadzoneV = [.0, .15]
tune.kpBP = [0., 5., 35.]
tune.kiBP = [0., 35.]
tune.kpV = [3.6, 2.4, 1.5]

@ -1 +1 @@
7828f8a2e00a5b73471a90850b18874617e82610
46922acfb984342daa35734e4297ff9d2ddfb18b
Loading…
Cancel
Save