22 ControlFrame::Ptr featFrame = std::make_shared<CoMFrame>(featFrameName, *this->
model);
24 return std::make_shared<PositionFeature>(featName, featFrame, this->
options.
axes);
30 std::string featDesName = this->
options.
taskName +
".PositionFeatureDesired";
32 ControlFrame::Ptr featDesFrame = std::make_shared<TargetFrame>(featDesFrameName, *this->
model);
34 return std::make_shared<PositionFeature>(featDesName, featDesFrame, this->
options.
axes);
53 this->
task->setDesiredTaskStateDirect(state);
void setPosition(const Eigen::Displacementd &newPosition)
virtual ~ComTaskBuilder()
virtual void setTaskState()
void setAcceleration(const Eigen::Twistd &newAcceleration)
void setVelocity(const Eigen::Twistd &newVelocity)
Optimization-based Robot Controller namespace. a library of classes to write and solve optimization p...
virtual Feature::Ptr buildFeature()
Eigen::Displacementd eigenVectorToDisplacementd(const Eigen::VectorXd &eigenVector)
TaskBuilderOptions options
virtual void setTaskType()
virtual Feature::Ptr buildFeatureDesired()
ComTaskBuilder(const TaskBuilderOptions &taskOptions, Model::Ptr modelPtr)
int computeDimensionFor(ECartesianDof fixedPosition, ECartesianDof fixedOrientation)
Computes the number of directions specified by two ECartesianDof enums.