22 if (featureDes && feature) {
28 std::cout <<
"[ERROR] TaskBuilder::buildTask() : Neither feature nor featureDes were created" << std::endl;
54 this->
task->activateAsObjective();
57 void TaskBuilder::setTaskLevel()
62 void TaskBuilder::setTaskWeight()
71 void TaskBuilder::setTaskStiffness()
76 void TaskBuilder::setTaskDamping()
virtual void setTaskState()=0
TaskBuilder(const TaskBuilderOptions &taskOptions, Model::Ptr modelPtr)
Eigen::VectorXd weightVector
bool useWeightVectorConstructor
virtual Feature::Ptr buildFeature()=0
Optimization-based Robot Controller namespace. a library of classes to write and solve optimization p...
virtual void setTaskAsObjectiveOrConstraint()
virtual void setTaskType()=0
TaskBuilderOptions options
virtual Feature::Ptr buildFeatureDesired()=0