improve tuning

pull/1729/head
Adeeb Shihadeh 5 years ago
parent fdbe64d8ae
commit 5d2de147d2
  1. 2
      selfdrive/car/gm/interface.py

@ -48,6 +48,8 @@ class CarInterface(CarInterfaceBase):
ret.steerRatio = 15.7 ret.steerRatio = 15.7
ret.steerRatioRear = 0. ret.steerRatioRear = 0.
ret.centerToFront = ret.wheelbase * 0.4 # wild guess ret.centerToFront = ret.wheelbase * 0.4 # wild guess
ret.lateralTuning.pid.kiBP, ret.lateralTuning.pid.kpBP = [[0., 15.0], [0., 15.0]]
ret.lateralTuning.pid.kpV, ret.lateralTuning.pid.kiV = [[0.2, 0.4], [0.02, 0.08]]
elif candidate == CAR.MALIBU: elif candidate == CAR.MALIBU:
# supports stop and go, but initial engage must be above 18mph (which include conservatism) # supports stop and go, but initial engage must be above 18mph (which include conservatism)

Loading…
Cancel
Save