|
|
@ -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) |
|
|
|