Defines | Functions | Variables
rocket_with_templates_ocp.hpp File Reference

Go to the source code of this file.

Defines

#define M   xd[2]
#define S   xd[0]
#define U   u[0]
#define V   xd[1]

Functions

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)

Variables

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 }

Detailed Description

Author:
Joel Andersson
Date:
2009

Definition in file rocket_with_templates_ocp.hpp.


Define Documentation

#define M   xd[2]

Definition at line 43 of file rocket_with_templates_ocp.hpp.

#define S   xd[0]

Definition at line 41 of file rocket_with_templates_ocp.hpp.

#define U   u[0]

Definition at line 45 of file rocket_with_templates_ocp.hpp.

#define V   xd[1]

Definition at line 42 of file rocket_with_templates_ocp.hpp.


Function Documentation

template<class DifferentialStateType , class ControlType , class ReturnType >
void eval_F ( const DifferentialStateType *  xd,
const ControlType *  u,
ReturnType &  lfun 
)

Definition at line 70 of file rocket_with_templates_ocp.hpp.

template<class DifferentialStateType , class ControlType , class ReturnType >
void eval_G ( const DifferentialStateType *  xd,
const ControlType *  u,
ReturnType *  rhs 
)

Definition at line 80 of file rocket_with_templates_ocp.hpp.


Variable Documentation

const int nu = 1

Definition at line 38 of file rocket_with_templates_ocp.hpp.

const int nxd = 3

Definition at line 37 of file rocket_with_templates_ocp.hpp.

const double t_end = 10.0

Definition at line 53 of file rocket_with_templates_ocp.hpp.

const double t_start = 0.0

Definition at line 52 of file rocket_with_templates_ocp.hpp.

const char* u_names[nu] = {"Control u"}

Definition at line 49 of file rocket_with_templates_ocp.hpp.

const double xd_0[nxd] = { 0.0 , 0.0 , 1.0 }

Definition at line 58 of file rocket_with_templates_ocp.hpp.

const bool xd_0_fixed[nxd] = { true , true , true }

Definition at line 55 of file rocket_with_templates_ocp.hpp.

const double xd_f[nxd] = { 10.0 , 0.0 , 0.0 }

Definition at line 59 of file rocket_with_templates_ocp.hpp.

const bool xd_f_fixed[nxd] = { true , true , false}

Definition at line 56 of file rocket_with_templates_ocp.hpp.

const bool xd_has_lb[nxd] = { false, true , false}

Definition at line 61 of file rocket_with_templates_ocp.hpp.

const bool xd_has_ub[nxd] = { false, true, false}

Definition at line 62 of file rocket_with_templates_ocp.hpp.

const double xd_lb[nxd] = { 0.0 , -0.01, 0.0 }

Definition at line 64 of file rocket_with_templates_ocp.hpp.

const char* xd_names[nxd] = {"DifferentialState s","DifferentialState v","DifferentialState m"}

Definition at line 48 of file rocket_with_templates_ocp.hpp.

const double xd_ub[nxd] = { 0.0 , 1.3, 0.0 }

Definition at line 65 of file rocket_with_templates_ocp.hpp.



acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Thu Aug 27 2015 12:01:36