11 #ifndef TASK_BUILDER_OPTIONS_H 12 #define TASK_BUILDER_OPTIONS_H 14 #include <Eigen/Dense> 19 #include <yarp/os/Bottle.h> 51 out <<
"Task name:\n" << tmOpts.
taskName << std::endl << std::endl;
52 out <<
"Task type:\n" << tmOpts.
taskType << std::endl << std::endl;
53 out <<
"Segment:\n" << tmOpts.
segment << std::endl << std::endl;
54 out <<
"kp:\n" << tmOpts.
kp << std::endl << std::endl;
55 out <<
"kd:\n" << tmOpts.
kd << std::endl << std::endl;
56 out <<
"weight:\n" << tmOpts.
weight << std::endl << std::endl;
57 out <<
"weights:\n" << tmOpts.
weightVector.transpose() << std::endl << std::endl;
59 out <<
"hierarchyLevel:\n" << tmOpts.
hierarchyLevel << std::endl << std::endl;
60 out <<
"offset:\n" << tmOpts.
offset << std::endl;
61 out <<
"jointIndexes:\n" << tmOpts.
jointIndexes.transpose() << std::endl << std::endl;
62 out <<
"desired:\n" << tmOpts.
desired.transpose() << std::endl << std::endl;
68 const static int TASK_BUILDER_OPTIONS_BOTTLE = 123;
73 #endif //TASK_BUILDER_OPTIONS_H Eigen::VectorXd indexWeightVector
Eigen::VectorXd weightVector
void putIntoBottle(yarp::os::Bottle &bottle)
friend std::ostream & operator<<(std::ostream &out, const TaskBuilderOptions &tmOpts)
Eigen::VectorXi jointIndexes
bool useWeightVectorConstructor
#define DEFINE_CLASS_POINTER_TYPEDEFS(Class)
Optimization-based Robot Controller namespace. a library of classes to write and solve optimization p...
std::string cartesianDofToString(const ECartesianDof dofEnum)
Eigen::VectorXd nameDesired
std::vector< std::string > jointNames
bool extractFromBottle(yarp::os::Bottle &bottle, int &sizeOfOptions)
Eigen::VectorXd nameWeightVector
Eigen::Displacementd offset
Some enumerations for the control.
Eigen::VectorXd indexDesired