21 ControlFrame::Ptr featFrame = std::make_shared<SegmentFrame>(featFrameName, *this->
model, segmentName, this->
options.
offset);
23 return std::make_shared<OrientationFeature>(featName, featFrame);
29 std::string featDesName = this->
options.
taskName +
".OrientationFeatureDesired";
31 ControlFrame::Ptr featDesFrame = std::make_shared<TargetFrame>(featDesFrameName, *this->
model);
33 return std::make_shared<OrientationFeature>(featDesName, featDesFrame);
43 state.
setPosition(Eigen::Displacementd(Eigen::Vector3d::Zero(), orientation));
46 Eigen::Rotation3d orientation = this->
task->getTaskState().getPosition().getRotation();
47 state.
setPosition(Eigen::Displacementd(Eigen::Vector3d::Zero(), orientation));
54 this->
task->setDesiredTaskStateDirect(state);
OrientationTaskBuilder(const TaskBuilderOptions &taskOptions, Model::Ptr modelPtr)
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 void setTaskState()
virtual ~OrientationTaskBuilder()
virtual Feature::Ptr buildFeatureDesired()
virtual void setTaskType()
TaskBuilderOptions options
virtual Feature::Ptr buildFeature()
Eigen::Displacementd offset