#include <RK4Integrator.hpp>
|
| | 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) |
| |
◆ RK4_SIM()
| RK4_SIM::RK4_SIM |
( |
int |
_plant_order, |
|
|
int |
_ctrl_order, |
|
|
double |
_integration_step = 0.0001, |
|
|
double |
_initial_time = 0.0, |
|
|
double * |
_initial_state = NULL |
|
) |
| |
◆ ~RK4_SIM()
◆ DERIV()
| virtual void motor_controller::RK4_SIM::DERIV |
( |
const double |
t, |
|
|
const double * |
x, |
|
|
const double * |
u, |
|
|
double * |
xdot |
|
) |
| |
|
inlinevirtual |
◆ init_param()
| void RK4_SIM::init_param |
( |
double |
_integration_step, |
|
|
double |
_initial_time, |
|
|
double * |
_initial_state |
|
) |
| |
◆ solve()
| void RK4_SIM::solve |
( |
void |
| ) |
|
◆ ctrl_input
| std::vector<double> motor_controller::RK4_SIM::ctrl_input |
◆ ctrl_order
| int motor_controller::RK4_SIM::ctrl_order |
|
protected |
◆ current_time
| double motor_controller::RK4_SIM::current_time |
◆ integration_step
| double motor_controller::RK4_SIM::integration_step |
|
protected |
◆ plant_order
| int motor_controller::RK4_SIM::plant_order |
|
protected |
◆ plant_state
| std::vector<double> motor_controller::RK4_SIM::plant_state |
◆ rk4_sim_err
| int motor_controller::RK4_SIM::rk4_sim_err |
The documentation for this class was generated from the following files: