mirror of
https://github.com/WallabyLester/RBF-aPID-Controller.git
synced 2026-05-10 04:58:14 +08:00
Cleaning up.
This commit is contained in:
@@ -10,13 +10,13 @@ with simulated data can be found in `first_order_sim.py`
|
||||
|
||||
The method has been implemented in three ways:
|
||||
|
||||
1. TensorFlow : Using TF to build and train the RBF Model.
|
||||
1. [TF_Implementation](/TF_Implementation/): Using TensorFlow to build and train the RBF Model.
|
||||
|
||||

|
||||

|
||||
|
||||
2. Numpy: Using Numpy to build and train the RBF Model.
|
||||
2. [NP_Implementation](/NP_Implementation/): Using Numpy to build and train the RBF Model.
|
||||
|
||||

|
||||
|
||||
3. C++: Written in C++ (requiring `cmath`), for use on embedded systems.
|
||||
3. C++ `CPP_Implementation`: Written in C++ (requiring `cmath`), for use on embedded systems.
|
||||
|
||||
+4
-4
@@ -1,10 +1,10 @@
|
||||
import matplotlib.pyplot as plt
|
||||
import numpy as np
|
||||
|
||||
from RBF_numpy import RBFNetwork
|
||||
from aPID_numpy import AdaptivePIDNP
|
||||
from RBF_tf import RBFAdaptiveModel, train_rbf_adaptive
|
||||
from aPID_tf import AdaptivePIDTf
|
||||
from NP_Implementation.RBF_numpy import RBFNetwork
|
||||
from NP_Implementation.aPID_numpy import AdaptivePIDNP
|
||||
from TF_Implementation.RBF_tf import RBFAdaptiveModel, train_rbf_adaptive
|
||||
from TF_Implementation.aPID_tf import AdaptivePIDTf
|
||||
|
||||
def simulate_system(controller, target, dt, T):
|
||||
""" Simulate control model as first order system.
|
||||
|
||||
Reference in New Issue
Block a user