Class representing an ODE system. More...
#include <ODE.hpp>
Public Member Functions | |
ODE (double K_p, double K_d, double r_t) | |
Constructor for ODE objects. More... | |
void | operator() (vector< double > y_t, vector< double > &dy_t, double t) |
function representation of ODE system More... | |
Class representing an ODE system.
ODE::ODE | ( | double | K_p, |
double | K_d, | ||
double | r_t | ||
) |
Constructor for ODE objects.
K_p | Proportional Gain: Gain constant of the proportional controller |
K_d | Derivative Gain: Gain constant of the derivative controller |
r_t | Set-Point: The desired value that the control system must reach. This also knows as the reference variable |
void ODE::operator() | ( | vector< double > | y_t, |
vector< double > & | dy_t, | ||
double | t | ||
) |