Skip to content

Commit

Permalink
Resolving #34331 with replacing numpy_fast functions with numpy funct…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
sahil7gupta committed Jan 11, 2025
1 parent 0877994 commit beb92a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/pid.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(self, k_p, k_i, k_f=0., k_d=0., pos_limit=1e308, neg_limit=-1e308,

@property
def k_p(self):
return interp(self.speed, self._k_p[0], self._k_p[1])
return np.interp(self.speed, self._k_p[0], self._k_p[1])

@property
def k_i(self):
Expand Down

0 comments on commit beb92a6

Please sign in to comment.