30 #ifndef TOWR_NLP_FACTORY_H_ 31 #define TOWR_NLP_FACTORY_H_ 33 #include <ifopt/variable_set.h> 34 #include <ifopt/constraint_set.h> 35 #include <ifopt/cost_term.h> 56 using EEPos = std::vector<Eigen::Vector3d>;
ContraintPtrVec GetConstraints() const
ContraintPtrVec GetConstraint(ConstraintName name) const
CostPtrVec GetCost(const CostName &id, double weight) const
ContraintPtrVec MakeTotalTimeConstraint() const
std::vector< ifopt::ConstraintSet::Ptr > ContraintPtrVec
ContraintPtrVec MakeForceConstraint() const
std::vector< PhaseNodes::Ptr > MakeEndeffectorVariables() const
Holds pointers to the robot specific kinematics and dynamics.
VariablePtrVec GetVariableSets()
virtual ~NlpFactory()=default
std::vector< Eigen::Vector3d > EEPos
std::vector< PhaseDurations::Ptr > MakeContactScheduleVariables() const
ContraintPtrVec MakeTerrainConstraint() const
ContraintPtrVec GetCosts() const
ContraintPtrVec MakeRangeOfMotionBoxConstraint() const
std::vector< PhaseNodes::Ptr > MakeForceVariables() const
std::vector< ifopt::VariableSet::Ptr > VariablePtrVec
Holds pointers to fully constructed splines, that are linked to the optimization variables.
std::vector< ifopt::CostTerm::Ptr > CostPtrVec
ContraintPtrVec MakeSwingConstraint() const
Can represent the 6Degree-of-Freedom floating base of a robot.
ContraintPtrVec MakeBaseRangeOfMotionConstraint() const
ContraintPtrVec MakeBaseAccConstraint() const
Holds the parameters to tune the optimization problem.
CostPtrVec MakeForcesCost(double weight) const
ContraintPtrVec MakeDynamicConstraint() const
SplineHolder spline_holder_
std::shared_ptr< HeightMap > Ptr
std::vector< Nodes::Ptr > MakeBaseVariables() const