Update interface.py

This commit is contained in:
Kumar
2024-09-09 07:40:27 -07:00
committed by GitHub
parent bda7abf354
commit f97e2fa4bd
+5 -5
View File
@@ -162,9 +162,9 @@ class CarInterface(CarInterfaceBase):
# hand tuned (August 12, 2024)
def custom_tss2_longitudinal_tuning():
ret.vEgoStopping = 0.25
ret.vEgoStarting = 0.25
ret.stoppingDecelRate = 0.3
ret.vEgoStopping = 0.10
ret.vEgoStarting = 0.01
ret.stoppingDecelRate = 0.2
def default_tss2_longitudinal_tuning():
ret.vEgoStopping = 0.25
@@ -178,8 +178,8 @@ class CarInterface(CarInterfaceBase):
tune = ret.longitudinalTuning
if candidate in TSS2_CAR or ret.enableGasInterceptorDEPRECATED:
if sp_tss2_long_tune:
tune.kiBP = [0., 1., 8., 12., 20., 27., 40.]
tune.kiV = [.35, .316, .195, .20, .184, .101, .06]
tune.kiBP = [0., 1., 8., 12., 20., 27., 40.]
tune.kiV = [.35, .3162, .1965, .1965, .184, .101, .06]
custom_tss2_longitudinal_tuning()
else:
tune.kiBP = [5., 35.]