DirectTrajectoryOptimization  v0.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
DirectTrajectoryOptimization::Costs::ReachGoalCostBolza< DIMENSIONS > Class Template Reference

Bolza type cost function minimizing the distance to a goal state. More...

#include <ReachGoalCostBolza.hpp>

Inheritance diagram for DirectTrajectoryOptimization::Costs::ReachGoalCostBolza< DIMENSIONS >:
DirectTrajectoryOptimization::BaseClass::CostFunctionBolza< DIMENSIONS >

Public Member Functions

 ReachGoalCostBolza (const state_vector_t &goal, const state_matrix_t &Q=state_matrix_t::Identity(), const state_matrix_t &H=state_matrix_t::Identity())
 Constructor. More...
 
- Public Member Functions inherited from DirectTrajectoryOptimization::BaseClass::CostFunctionBolza< DIMENSIONS >
double IntermediateCost (const state_vector_t &x, const control_vector_t &u, const double &h)
 Intermediate cost function. More...
 

Detailed Description

template<class DIMENSIONS>
class DirectTrajectoryOptimization::Costs::ReachGoalCostBolza< DIMENSIONS >

Bolza type cost function minimizing the distance to a goal state.

Constructor & Destructor Documentation

template<class DIMENSIONS >
DirectTrajectoryOptimization::Costs::ReachGoalCostBolza< DIMENSIONS >::ReachGoalCostBolza ( const state_vector_t &  goal,
const state_matrix_t &  Q = state_matrix_t::Identity(),
const state_matrix_t &  H = state_matrix_t::Identity() 
)
inline

Constructor.

Parameters
[in]goalThe goal state
[in]QThe weighting matrix for the intermediate cost (distance to goal)
[in]HThe weighting matrix for the final cost (distance to goal)

The documentation for this class was generated from the following file: