#include <nlp_functions.h>
Public Attributes | |
FinalStageConstraint::Ptr | final_stage_constraints |
FinalStageCost::Ptr | final_stage_cost |
StageCost::Ptr | stage_cost |
StageEqualityConstraint::Ptr | stage_equalities |
StageInequalityConstraint::Ptr | stage_inequalities |
StagePreprocessor::Ptr | stage_preprocessor |
Eigen::VectorXd | u_lb |
Eigen::VectorXd | u_ub |
Eigen::VectorXd | x_lb |
Eigen::VectorXd | x_ub |
Definition at line 36 of file nlp_functions.h.
Definition at line 47 of file nlp_functions.cpp.
|
inline |
Definition at line 81 of file nlp_functions.h.
void corbo::NlpFunctions::getFinalControlDeviationEdges | ( | int | n, |
VectorVertex & | u_ref, | ||
VectorVertex & | u_prev, | ||
ScalarVertex & | u_prev_dt, | ||
std::vector< BaseEdge::Ptr > & | cost_edges, | ||
std::vector< BaseEdge::Ptr > & | eq_edges, | ||
std::vector< BaseEdge::Ptr > & | ineq_edges | ||
) |
Definition at line 152 of file nlp_functions.cpp.
BaseEdge::Ptr corbo::NlpFunctions::getFinalStateConstraintEdge | ( | int | k, |
VectorVertex & | xf | ||
) |
Definition at line 204 of file nlp_functions.cpp.
BaseEdge::Ptr corbo::NlpFunctions::getFinalStateCostEdge | ( | int | k, |
VectorVertex & | xf | ||
) |
Definition at line 188 of file nlp_functions.cpp.
void corbo::NlpFunctions::getNonIntegralStageFunctionEdges | ( | int | k, |
VectorVertex & | xk, | ||
VectorVertex & | uk, | ||
ScalarVertex & | dt, | ||
VectorVertex & | u_prev, | ||
ScalarVertex & | u_prev_dt, | ||
const StageFunction & | stage_fun, | ||
std::vector< BaseEdge::Ptr > & | edges | ||
) |
Definition at line 70 of file nlp_functions.cpp.
void corbo::NlpFunctions::getNonIntegralStageFunctionEdges | ( | int | k, |
VectorVertex & | xk, | ||
VectorVertex & | uk, | ||
ScalarVertex & | dt, | ||
VectorVertex & | u_prev, | ||
ScalarVertex & | u_prev_dt, | ||
std::vector< BaseEdge::Ptr > & | cost_edges, | ||
std::vector< BaseEdge::Ptr > & | eq_edges, | ||
std::vector< BaseEdge::Ptr > & | ineq_edges | ||
) |
Definition at line 134 of file nlp_functions.cpp.
|
inline |
Definition at line 73 of file nlp_functions.h.
bool corbo::NlpFunctions::update | ( | int | n, |
double | t, | ||
ReferenceTrajectoryInterface & | xref, | ||
ReferenceTrajectoryInterface & | uref, | ||
ReferenceTrajectoryInterface * | sref, | ||
bool | single_dt, | ||
const Eigen::VectorXd & | x0, | ||
const std::vector< double > & | dts, | ||
const DiscretizationGridInterface * | grid | ||
) |
Definition at line 31 of file nlp_functions.cpp.
FinalStageConstraint::Ptr corbo::NlpFunctions::final_stage_constraints |
Definition at line 43 of file nlp_functions.h.
FinalStageCost::Ptr corbo::NlpFunctions::final_stage_cost |
Definition at line 40 of file nlp_functions.h.
StageCost::Ptr corbo::NlpFunctions::stage_cost |
Definition at line 39 of file nlp_functions.h.
StageEqualityConstraint::Ptr corbo::NlpFunctions::stage_equalities |
Definition at line 41 of file nlp_functions.h.
StageInequalityConstraint::Ptr corbo::NlpFunctions::stage_inequalities |
Definition at line 42 of file nlp_functions.h.
StagePreprocessor::Ptr corbo::NlpFunctions::stage_preprocessor |
Definition at line 44 of file nlp_functions.h.
Eigen::VectorXd corbo::NlpFunctions::u_lb |
Definition at line 48 of file nlp_functions.h.
Eigen::VectorXd corbo::NlpFunctions::u_ub |
Definition at line 49 of file nlp_functions.h.
Eigen::VectorXd corbo::NlpFunctions::x_lb |
Definition at line 46 of file nlp_functions.h.
Eigen::VectorXd corbo::NlpFunctions::x_ub |
Definition at line 47 of file nlp_functions.h.