Cleaning up.

This commit is contained in:
Andru Liu
2024-10-07 23:36:01 -07:00
parent e9dc24a7a7
commit 042cf1a65a
6 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -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.
![TensorFlow](images/tf_impl.png "TensorFlow")
![TF_Trained](images/trained.png "TF_Trained")
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.
![Numpy](images/nump_impl.png "Numpy")
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
View File
@@ -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.