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. 6
      selfdrive/car/toyota/interface.py
  2. 2
      selfdrive/test/process_replay/ref_commit

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

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