33 double stiffness = 10.0,
34 double weight = 1000.0);
53 unsigned int robotIndex,
54 const std::string & relBodyName =
"",
55 double stiffness = 10.0,
56 double weight = 1000.0);
#define MC_TASKS_DLLAPI
Definition: api.h:50
std::shared_ptr< const Frame > ConstFramePtr
Definition: fwd.h:29
Definition: StabilizerStandingState.h:12
Definition: RobotFrame.h:22
Definition: StateBuilder.h:28
Definition: QPSolver.h:86
Controls an end-effector.
Definition: EndEffectorTask.h:20
Controls an end-effector relatively to another frame.
Definition: RelativeEndEffectorTask.h:19
RelativeEndEffectorTask(const std::string &bodyName, const mc_rbdyn::Robots &robots, unsigned int robotIndex, const std::string &relBodyName="", double stiffness=10.0, double weight=1000.0)
Constructor.
sva::PTransformd get_ef_pose() override
Returns the current target positions.
void set_ef_pose(const sva::PTransformd &tf) override
Change the target position.
void add_ef_pose(const sva::PTransformd &dtr) override
Increment the target position.
void reset() override
Reset the task.
void addToGUI(mc_rtc::gui::StateBuilder &gui) override
RelativeEndEffectorTask(const mc_rbdyn::RobotFrame &frame, const mc_rbdyn::Frame &relative, double stiffness=10.0, double weight=1000.0)
Constructor.