#include <nlp_factory.h>
Public Types | |
using | ContraintPtrVec = std::vector< ifopt::ConstraintSet::Ptr > |
using | CostPtrVec = std::vector< ifopt::CostTerm::Ptr > |
using | EEPos = std::vector< Eigen::Vector3d > |
using | VariablePtrVec = std::vector< ifopt::VariableSet::Ptr > |
using | Vector3d = Eigen::Vector3d |
Public Member Functions | |
ContraintPtrVec | GetConstraints () const |
ContraintPtrVec | GetCosts () const |
VariablePtrVec | GetVariableSets () |
NlpFactory ()=default | |
virtual | ~NlpFactory ()=default |
Public Attributes | |
BaseState | final_base_ |
BaseState | initial_base_ |
EEPos | initial_ee_W_ |
RobotModel | model_ |
Parameters | params_ |
SplineHolder | spline_holder_ |
HeightMap::Ptr | terrain_ |
Private Member Functions | |
ContraintPtrVec | GetConstraint (ConstraintName name) const |
CostPtrVec | GetCost (const CostName &id, double weight) const |
ContraintPtrVec | MakeBaseAccConstraint () const |
ContraintPtrVec | MakeBaseRangeOfMotionConstraint () const |
std::vector< Nodes::Ptr > | MakeBaseVariables () const |
std::vector< PhaseDurations::Ptr > | MakeContactScheduleVariables () const |
ContraintPtrVec | MakeDynamicConstraint () const |
std::vector< PhaseNodes::Ptr > | MakeEndeffectorVariables () const |
ContraintPtrVec | MakeForceConstraint () const |
CostPtrVec | MakeForcesCost (double weight) const |
std::vector< PhaseNodes::Ptr > | MakeForceVariables () const |
ContraintPtrVec | MakeRangeOfMotionBoxConstraint () const |
ContraintPtrVec | MakeSwingConstraint () const |
ContraintPtrVec | MakeTerrainConstraint () const |
ContraintPtrVec | MakeTotalTimeConstraint () const |
Builds variables, cost and constraints for the legged locomotion problem.
Abstracts the entire problem of Trajectory Optimization for walking robots into the formulation of variables, constraints and cost, solvable by any NLP solver.
Definition at line 51 of file nlp_factory.h.
using towr::NlpFactory::ContraintPtrVec = std::vector<ifopt::ConstraintSet::Ptr> |
Definition at line 54 of file nlp_factory.h.
using towr::NlpFactory::CostPtrVec = std::vector<ifopt::CostTerm::Ptr> |
Definition at line 55 of file nlp_factory.h.
using towr::NlpFactory::EEPos = std::vector<Eigen::Vector3d> |
Definition at line 56 of file nlp_factory.h.
using towr::NlpFactory::VariablePtrVec = std::vector<ifopt::VariableSet::Ptr> |
Definition at line 53 of file nlp_factory.h.
using towr::NlpFactory::Vector3d = Eigen::Vector3d |
Definition at line 57 of file nlp_factory.h.
|
default |
|
virtualdefault |
|
private |
Definition at line 206 of file nlp_factory.cc.
NlpFactory::ContraintPtrVec towr::NlpFactory::GetConstraints | ( | ) | const |
Definition at line 195 of file nlp_factory.cc.
|
private |
Definition at line 334 of file nlp_factory.cc.
NlpFactory::ContraintPtrVec towr::NlpFactory::GetCosts | ( | ) | const |
Definition at line 323 of file nlp_factory.cc.
NlpFactory::VariablePtrVec towr::NlpFactory::GetVariableSets | ( | ) |
Definition at line 51 of file nlp_factory.cc.
|
private |
Definition at line 309 of file nlp_factory.cc.
|
private |
Definition at line 223 of file nlp_factory.cc.
|
private |
Definition at line 82 of file nlp_factory.cc.
|
private |
Definition at line 177 of file nlp_factory.cc.
|
private |
Definition at line 229 of file nlp_factory.cc.
|
private |
Definition at line 108 of file nlp_factory.cc.
|
private |
Definition at line 281 of file nlp_factory.cc.
|
private |
Definition at line 343 of file nlp_factory.cc.
|
private |
Definition at line 150 of file nlp_factory.cc.
|
private |
Definition at line 238 of file nlp_factory.cc.
|
private |
Definition at line 296 of file nlp_factory.cc.
|
private |
Definition at line 268 of file nlp_factory.cc.
|
private |
Definition at line 254 of file nlp_factory.cc.
BaseState towr::NlpFactory::final_base_ |
Definition at line 79 of file nlp_factory.h.
BaseState towr::NlpFactory::initial_base_ |
Definition at line 78 of file nlp_factory.h.
EEPos towr::NlpFactory::initial_ee_W_ |
Definition at line 80 of file nlp_factory.h.
RobotModel towr::NlpFactory::model_ |
Definition at line 81 of file nlp_factory.h.
Parameters towr::NlpFactory::params_ |
Definition at line 83 of file nlp_factory.h.
SplineHolder towr::NlpFactory::spline_holder_ |
Definition at line 85 of file nlp_factory.h.
HeightMap::Ptr towr::NlpFactory::terrain_ |
Definition at line 82 of file nlp_factory.h.