Go to the source code of this file.
|
#define | M xd[2] |
|
#define | S xd[0] |
|
#define | U u[0] |
|
#define | V xd[1] |
|
|
template<class DifferentialStateType , class ControlType , class ReturnType > |
void | eval_F (const DifferentialStateType *xd, const ControlType *u, ReturnType &lfun) |
|
template<class DifferentialStateType , class ControlType , class ReturnType > |
void | eval_G (const DifferentialStateType *xd, const ControlType *u, ReturnType *rhs) |
|
|
const int | nu = 1 |
|
const int | nxd = 3 |
|
const double | t_end = 10.0 |
|
const double | t_start = 0.0 |
|
const char * | u_names [nu] = {"Control u"} |
|
const double | xd_0 [nxd] = { 0.0 , 0.0 , 1.0 } |
|
const bool | xd_0_fixed [nxd] = { true , true , true } |
|
const double | xd_f [nxd] = { 10.0 , 0.0 , 0.0 } |
|
const bool | xd_f_fixed [nxd] = { true , true , false} |
|
const bool | xd_has_lb [nxd] = { false, true , false} |
|
const bool | xd_has_ub [nxd] = { false, true, false} |
|
const double | xd_lb [nxd] = { 0.0 , -0.01, 0.0 } |
|
const char * | xd_names [nxd] = {"DifferentialState s","DifferentialState v","DifferentialState m"} |
|
const double | xd_ub [nxd] = { 0.0 , 1.3, 0.0 } |
|
- Author
- Joel Andersson
- Date
- 2009
Definition in file rocket_with_templates_ocp.hpp.
template<class DifferentialStateType , class ControlType , class ReturnType >
void eval_F |
( |
const DifferentialStateType * |
xd, |
|
|
const ControlType * |
u, |
|
|
ReturnType & |
lfun |
|
) |
| |
template<class DifferentialStateType , class ControlType , class ReturnType >
void eval_G |
( |
const DifferentialStateType * |
xd, |
|
|
const ControlType * |
u, |
|
|
ReturnType * |
rhs |
|
) |
| |
const double t_end = 10.0 |
const double t_start = 0.0 |
const char* u_names[nu] = {"Control u"} |
const double xd_0[nxd] = { 0.0 , 0.0 , 1.0 } |
const bool xd_0_fixed[nxd] = { true , true , true } |
const double xd_f[nxd] = { 10.0 , 0.0 , 0.0 } |
const bool xd_f_fixed[nxd] = { true , true , false} |
const bool xd_has_lb[nxd] = { false, true , false} |
const bool xd_has_ub[nxd] = { false, true, false} |
const double xd_lb[nxd] = { 0.0 , -0.01, 0.0 } |
const double xd_ub[nxd] = { 0.0 , 1.3, 0.0 } |