Skip to content

Commit

Permalink
revert rate
Browse files Browse the repository at this point in the history
  • Loading branch information
cydia2020 authored Jun 23, 2024
1 parent 27d60b9 commit 9beac98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/controls/lib/longcontrol.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(self, CP):
self.long_control_state = LongCtrlState.off
self.pid = PIDController((CP.longitudinalTuning.kpBP, CP.longitudinalTuning.kpV),
(CP.longitudinalTuning.kiBP, CP.longitudinalTuning.kiV),
k_f=CP.longitudinalTuning.kf, rate=(1/3)/DT_CTRL)
k_f=CP.longitudinalTuning.kf, rate=1 / DT_CTRL)
self.last_output_accel = 0.0

def reset(self):
Expand Down

0 comments on commit 9beac98

Please sign in to comment.