From c30e42440d5db3f9ba3e7c201676022d973b67b4 Mon Sep 17 00:00:00 2001 From: Andru Liu <90433630+WallabyLester@users.noreply.github.com> Date: Mon, 7 Oct 2024 17:53:38 -0700 Subject: [PATCH] Cleaning up. --- RBF_numpy.py | 1 - aPID.py | 1 - first_order_sim.py | 3 ++- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/RBF_numpy.py b/RBF_numpy.py index e2c77cb..e54a47e 100644 --- a/RBF_numpy.py +++ b/RBF_numpy.py @@ -54,7 +54,6 @@ class RBFNetwork: Returns ------- Height of Gaussian curve at x. - """ return np.exp(-np.linalg.norm(x - center) ** 2 / (2 * self.sigma ** 2)) diff --git a/aPID.py b/aPID.py index e29b75b..8fda6f9 100644 --- a/aPID.py +++ b/aPID.py @@ -16,7 +16,6 @@ class AdaptivePIDNP: rbf_network : RBFNetwork object RBF network class instance. - Methods ------- update(target, measured_value, dt): diff --git a/first_order_sim.py b/first_order_sim.py index 92d95c8..0d16ad3 100644 --- a/first_order_sim.py +++ b/first_order_sim.py @@ -53,4 +53,5 @@ if __name__ == "__main__": plt.title("Adaptive RBF Neural PID Controller") plt.legend() plt.grid() - plt.show() \ No newline at end of file + plt.show() + \ No newline at end of file