mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-26 16:32:06 +08:00
refactored to use tune from new long control API (https://github.com/commaai/openpilot/pull/32706)
This commit is contained in:
@@ -153,10 +153,7 @@ class CarInterface(CarInterfaceBase):
|
||||
else:
|
||||
ret.stopAccel = -2.5
|
||||
|
||||
ret.stoppingDecelRate = 0.17
|
||||
tune.kpV = [0.]
|
||||
tune.kiV = [0.5]
|
||||
elif candidate in TSS2_CAR:
|
||||
if candidate in TSS2_CAR:
|
||||
tune.kpV = [0.0]
|
||||
tune.kiV = [0.5]
|
||||
ret.vEgoStopping = 0.25
|
||||
|
||||
@@ -220,7 +220,6 @@ class LongitudinalPlanner:
|
||||
|
||||
pm.send('longitudinalPlan', plan_send)
|
||||
|
||||
|
||||
# dp - extension
|
||||
plan_ext_send = messaging.new_message('longitudinalPlanExt')
|
||||
plan_ext_send.valid = True
|
||||
|
||||
Reference in New Issue
Block a user