deprecate long kp (#38614)

* deprecate long kp

* bump
This commit is contained in:
Shane Smiskol
2026-08-13 22:25:35 -07:00
committed by GitHub
parent b7c333cf3f
commit bdc8e4b02c
2 changed files with 2 additions and 3 deletions
@@ -39,8 +39,7 @@ class LongControl:
def __init__(self, CP):
self.CP = CP
self.long_control_state = LongCtrlState.off
self.pid = PIDController((CP.longitudinalTuning.kpBP, CP.longitudinalTuning.kpV),
(CP.longitudinalTuning.kiBP, CP.longitudinalTuning.kiV),
self.pid = PIDController(0.0, (CP.longitudinalTuning.kiBP, CP.longitudinalTuning.kiV),
rate=1 / DT_CTRL)
self.last_output_accel = 0.0