Go to the documentation of this file.
45 unsigned int robotIndex,
46 double stiffness = 2.0,
55 void reset()
override;
58 inline const Eigen::Vector3d &
position() const noexcept
63 return static_cast<tasks::qp::PositionTask *
>(errorT.get())->position();
76 inline void position(
const Eigen::Vector3d & pos) noexcept
81 static_cast<tasks::qp::PositionTask *
>(errorT.get())->position(pos);
93 inline const Eigen::Vector3d &
bodyPoint() const noexcept
98 return static_cast<tasks::qp::PositionTask *
>(errorT.get())->bodyPoint();
101 static Eigen::Vector3d res = Eigen::Vector3d::Zero();
void position(const Eigen::Vector3d &pos) noexcept
Set the position target.
Definition: PositionTask.h:76
#define MC_TASKS_DLLAPI
Definition: api.h:50
Definition: PositionFunction.h:18
mc_rbdyn::ConstRobotFramePtr frame_
Definition: PositionTask.h:112
const Eigen::Vector3d & bodyPoint() const noexcept
Get the body point being controlled.
Definition: PositionTask.h:93
Logs controller data to disk.
Definition: Logger.h:29
Control the position of a frame.
Definition: PositionTask.h:15
Definition: RobotFrame.h:21
Definition: StateBuilder.h:27
void error_and_throw(Args &&... args)
Definition: logging.h:47
std::shared_ptr< const RobotFrame > ConstRobotFramePtr
Definition: fwd.h:25
const Eigen::Vector3d & position() const noexcept
Get the position target.
Definition: PositionTask.h:58
Controls an end-effector.
Definition: EndEffectorTask.h:19
Definition: StabilizerStandingState.h:11
Generic wrapper for a trajectory dynamic over an error function.
Definition: TrajectoryTaskGeneric.h:26