#include <RK4Integrator.hpp>
Public Member Functions |
| | RK4_SIM (int _plant_order, int _ctrl_order, double _integration_step=0.0001, double _initial_time=0.0, double *_initial_state=NULL) |
| virtual | ~RK4_SIM () |
| void | init_param (double _integration_step, double _initial_time, double *_initial_state) |
| void | solve (void) |
| virtual void | DERIV (const double t, const double *x, const double *u, double *xdot) |
Constructor & Destructor Documentation
| RK4_SIM::RK4_SIM |
( |
int |
_plant_order, |
|
|
int |
_ctrl_order, |
|
|
double |
_integration_step = 0.0001, |
|
|
double |
_initial_time = 0.0, |
|
|
double * |
_initial_state = NULL |
|
) |
| |
Member Function Documentation
| virtual void RK4_SIM::DERIV |
( |
const double |
t, |
|
|
const double * |
x, |
|
|
const double * |
u, |
|
|
double * |
xdot |
|
) |
| |
|
inlinevirtual |
| void RK4_SIM::init_param |
( |
double |
_integration_step, |
|
|
double |
_initial_time, |
|
|
double * |
_initial_state |
|
) |
| |
| void RK4_SIM::solve |
( |
void |
| ) |
|
Member Data Documentation
| std::vector<double> RK4_SIM::ctrl_input |
| double RK4_SIM::current_time |
| double RK4_SIM::integration_step |
|
protected |
| std::vector<double> RK4_SIM::plant_state |
The documentation for this class was generated from the following files:
- /home/build/jenkins/workspace/RockBootstrap19/FLAVOR/stable/label/DebianUnstable/dev/control/motor_controller/src/RK4Integrator.hpp
- /home/build/jenkins/workspace/RockBootstrap19/FLAVOR/stable/label/DebianUnstable/dev/control/motor_controller/src/RK4Integrator.cpp