22 ControlFrame::Ptr featFrame = std::make_shared<SegmentFrame>(featFrameName, *this->
model, segmentName, this->
options.
offset);
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);
54 this->
task->setDesiredTaskStateDirect(state);
void setPosition(const Eigen::Displacementd &newPosition)
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()
virtual Feature::Ptr buildFeatureDesired()
Eigen::Displacementd eigenVectorToDisplacementd(const Eigen::VectorXd &eigenVector)
TaskBuilderOptions options
virtual ~CartesianTaskBuilder()
CartesianTaskBuilder(const TaskBuilderOptions &taskOptions, Model::Ptr modelPtr)
int computeDimensionFor(ECartesianDof fixedPosition, ECartesianDof fixedOrientation)
Computes the number of directions specified by two ECartesianDof enums.
Eigen::Displacementd offset
virtual void setTaskType()
virtual void setTaskState()