diff --git a/RBF_numpy.py b/NP_Implementation/RBF_numpy.py similarity index 100% rename from RBF_numpy.py rename to NP_Implementation/RBF_numpy.py diff --git a/aPID_numpy.py b/NP_Implementation/aPID_numpy.py similarity index 100% rename from aPID_numpy.py rename to NP_Implementation/aPID_numpy.py diff --git a/README.md b/README.md index 5481c1c..58bc0a4 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/RBF_tf.py b/TF_Implementation/RBF_tf.py similarity index 100% rename from RBF_tf.py rename to TF_Implementation/RBF_tf.py diff --git a/aPID_tf.py b/TF_Implementation/aPID_tf.py similarity index 100% rename from aPID_tf.py rename to TF_Implementation/aPID_tf.py diff --git a/first_order_sim.py b/first_order_sim.py index 0f208e5..aef31c8 100644 --- a/first_order_sim.py +++ b/first_order_sim.py @@ -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.