18 _init(Eigen::Rotation3d::Identity(), _stiffness, _damping);
34 _init(Eigen::Rotation3d::Identity(), _stiffness, _damping);
41 void gOcraSegOrientationTaskManager::_init(Eigen::Rotation3d _refOrientation_LocalFrame,
double _stiffness,
double _damping)
48 featDesFrame->setPosition(Eigen::Displacementd::Identity());
49 featDesFrame->setVelocity(Eigen::Twistd::Zero());
50 featDesFrame->setAcceleration(Eigen::Twistd::Zero());
67 featDesFrame->
setPosition(Eigen::Displacementd(Eigen::Vector3d::Zero(), orientation));
void setStiffness(double stiffness)
void setDamping(double B)
Used to build orientation tasks.
const Eigen::MatrixXd & getDamping() const
const Eigen::VectorXd & getError() const
Task Manager for the Center of Mass (CoM) task with the gOcra Controllers.
gOcraSegOrientationTaskManager(GHCJTController &ctrl, const ocra::Model &model, const std::string &taskName, const std::string &segmentName, double stiffness, double damping)
gOcra Controller based on LQP solver for the ocra framework.
void setPosition(const Eigen::Displacementd &H)
A frame attached to a segment of a model.
gocra::GHCJTController & ctrl
void setAcceleration(const Eigen::Twistd &gamma)
void setDamping(double damping)
void setVelocity(const Eigen::Twistd &T)
void setStiffness(double K)
const std::string SegmentName(const std::string &name) const
Eigen::VectorXd getTaskError()
void addTask(std::shared_ptr< Task > task)
void activateAsObjective()
void setOrientation(const Eigen::Rotation3d &pos)
GHCJTTask & createGHCJTTask(const std::string &name, Feature::Ptr feature, Feature::Ptr featureDes) const
const ocra::Model & model
Represents a 'target', i.e. something that does not depend on a model but must match with another fra...
const Eigen::MatrixXd & getStiffness() const