Go to the documentation of this file.
45 unsigned int robotIndex,
46 double stiffness = 2.0,
56 void reset()
override;
59 virtual sva::PTransformd target()
const;
66 virtual void target(
const sva::PTransformd & worldPos);
72 virtual void targetVel(
const sva::MotionVecd & worldVel);
85 void targetSurface(
unsigned int robotIndex,
86 const std::string & surfaceName,
87 const sva::PTransformd & offset = sva::PTransformd::Identity());
98 void targetFrame(
const mc_rbdyn::Frame & targetFrame,
const sva::PTransformd & offset = sva::PTransformd::Identity());
110 const sva::PTransformd & offset = sva::PTransformd::Identity());
121 virtual void target(
const mc_rbdyn::Frame & frame,
const sva::PTransformd & offset);
124 inline const std::string &
surface() const noexcept {
return frame_->name(); }
130 inline sva::PTransformd
surfacePose() const noexcept {
return frame_->position(); }
140 std::function<bool(
const mc_tasks::MetaTask & task, std::string &)> buildCompletionCriteria(
157 void setGains(
const sva::MotionVecd & stiffness,
const sva::MotionVecd & damping)
172 sva::MotionVecd
mvStiffness() {
return sva::MotionVecd(dimStiffness()); }
182 sva::MotionVecd
mvDamping() {
return sva::MotionVecd(dimDamping()); }
Simplify access to values hold within a JSON file.
Definition: Configuration.h:165
double damping() const
Get the current task damping.
const Eigen::VectorXd & refVel() const
Get the trajectory reference velocity.
#define MC_TASKS_DLLAPI
Definition: api.h:50
void setGains(double stiffness, double damping)
Set both stiffness and damping.
Definition: QPSolver.h:85
Logs controller data to disk.
Definition: Logger.h:29
double stiffness() const
Get the current task stiffness.
Definition: RobotFrame.h:21
const Eigen::VectorXd & refAccel() const
Get the trajectory reference acceleration.
Definition: StateBuilder.h:27
std::shared_ptr< const RobotFrame > ConstRobotFramePtr
Definition: fwd.h:25
Definition: StabilizerStandingState.h:11
Generic wrapper for a trajectory dynamic over an error function.
Definition: TrajectoryTaskGeneric.h:26