19 _init(Eigen::Displacementd::Identity(), _stiffness, _damping);
36 _init(Eigen::Displacementd::Identity(), _stiffness, _damping);
43 void gOcraSegPoseTaskManager::_init(
const Eigen::Displacementd& _ref_LocalFrame,
double _stiffness,
double _damping)
54 featDesFrame->setPosition(Eigen::Displacementd::Identity());
55 featDesFrame->setVelocity(Eigen::Twistd::Zero());
56 featDesFrame->setAcceleration(Eigen::Twistd::Zero());
73 setState(pose, Eigen::Twistd::Zero(), Eigen::Twistd::Zero());
void setDamping(double damping)
void setDamping(double B)
gOcraSegPoseTaskManager(GHCJTController &ctrl, const ocra::Model &model, const std::string &taskName, const std::string &segmentName, ocra::ECartesianDof axes, double stiffness, double damping)
const Eigen::MatrixXd & getDamping() const
const Eigen::VectorXd & getError() const
Task Manager for the Center of Mass (CoM) task with the gOcra Controllers.
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.
int getSegmentIndex(const std::string &name) const
gocra::GHCJTController & ctrl
void setAcceleration(const Eigen::Twistd &gamma)
Used to build position/orientation tasks.
Eigen::VectorXd getTaskError()
void setVelocity(const Eigen::Twistd &T)
void setStiffness(double stiffness)
void setStiffness(double K)
const std::string SegmentName(const std::string &name) const
void setState(const Eigen::Displacementd &pose)
void addTask(std::shared_ptr< Task > task)
void activateAsObjective()
virtual const Eigen::Displacementd & getSegmentPosition(int index) const =0
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