mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-19 07:13:49 +08:00
+1
-1
Submodule opendbc_repo updated: 44f2987cb6...c536b211b7
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user