mirror of
https://github.com/WallabyLester/RBF-aPID-Controller.git
synced 2026-05-09 20:53:57 +08:00
Cleaning up.
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
@@ -16,7 +16,6 @@ class AdaptivePIDNP:
|
||||
rbf_network : RBFNetwork object
|
||||
RBF network class instance.
|
||||
|
||||
|
||||
Methods
|
||||
-------
|
||||
update(target, measured_value, dt):
|
||||
|
||||
@@ -54,3 +54,4 @@ if __name__ == "__main__":
|
||||
plt.legend()
|
||||
plt.grid()
|
||||
plt.show()
|
||||
|
||||
Reference in New Issue
Block a user