From beb92a64d6f3221c0cd98ba63d9fe463fe424c72 Mon Sep 17 00:00:00 2001 From: Sahil Gupta Date: Sat, 11 Jan 2025 20:24:35 +0000 Subject: [PATCH] Resolving #34331 with replacing numpy_fast functions with numpy functions --- common/pid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/pid.py b/common/pid.py index 36cbf9c4e9b59e..e8f9bdb6ae5747 100644 --- a/common/pid.py +++ b/common/pid.py @@ -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):