9 #ifndef __GHCJTTask_H__ 10 #define __GHCJTTask_H__ 46 GHCJTTask(
const std::string& taskName,
const Model& innerModel, Feature::Ptr feature, Feature::Ptr featureDes);
47 GHCJTTask(
const std::string& taskName,
const Model& innerModel, Feature::Ptr feature);
51 const Eigen::VectorXd& getComputedForce()
const;
53 const Eigen::MatrixXd& getPriority()
const;
54 void setPriority(Eigen::MatrixXd& alpha);
55 int getTaskDimension()
const;
56 const std::string& getTaskName()
const;
57 void setIndexBegin(
int index);
58 int getIndexBegin()
const;
59 void setIndexEnd(
int index);
60 int getIndexEnd()
const;
61 void setProjector(Eigen::MatrixXd& proj);
62 void setTaskiProjector(Eigen::MatrixXd& proj);
63 const Eigen::MatrixXd& getProjector()
const;
64 const Eigen::MatrixXd& getTaskiProjector()
const;
73 void disconnectFromController();
78 virtual void doGetOutput(Eigen::VectorXd& output)
const;
80 void addContactPointInModel();
81 void removeContactPointInModel();
83 virtual void doActivateContactMode();
84 virtual void doDeactivateContactMode();
85 virtual void doSetFrictionCoeff();
86 virtual void doSetMargin();
88 virtual void doSetWeight();
90 virtual void doActivateAsObjective();
91 virtual void doDeactivateAsObjective();
92 virtual void doActivateAsConstraint();
93 virtual void doDeactivateAsConstraint();
95 void checkIfConnectedToController()
const;
99 boost::shared_ptr<Pimpl> pimpl;
Classes that represent frames.
Declaration file of the SquaredLinearFunction class.
Define the internal solver class that can be used in the wOcra controller.
A class hierarchy to compute task errors based on control frames.
gOcra Controller based on LQP solver for the ocra framework.
Optimization-based Robot Controller namespace. a library of classes to write and solve optimization p...
A generic abstract task for the GHCJT controller.
This class represents a variable in a mathematical sense.
Declaration file of the WeightedSquareDistanceFunction class.
A generic abstract class the solvers that can be used in the wOcra Controller.