Go to the documentation of this file.
11 #include <Tasks/QPMotionConstr.h>
47 unsigned int robotIndex,
49 const std::array<double, 3> & damper,
50 double velocityPercent = 1.0,
51 bool infTorque =
false);
60 return *
static_cast<tasks::qp::MotionConstr *
>(motion_constr_.get());
73 void addToSolverImpl(
QPSolver & solver)
override;
75 void removeFromSolverImpl(
QPSolver & solver)
override;
77 inline unsigned int robotIndex() const noexcept {
return robotIndex_; }
Definition: DynamicsConstraint.h:20
Definition: QPSolver.h:85
Definition: DynamicFunction.h:31
Definition: KinematicsConstraint.h:19
std::unique_ptr< void, void(*)(void *)> void_ptr
Definition: void_ptr.h:14
unsigned int robotIndex_
Definition: DynamicsConstraint.h:90
mc_rtc::void_ptr motion_constr_
Definition: DynamicsConstraint.h:88
std::shared_ptr< DynamicFunction > DynamicFunctionPtr
Definition: DynamicFunction.h:117
unsigned int robotIndex() const noexcept
Definition: DynamicsConstraint.h:77
tasks::qp::MotionConstr & motionConstr() noexcept
Definition: DynamicsConstraint.h:57
#define MC_SOLVER_DLLAPI
Definition: api.h:50
mc_tvm::DynamicFunction & dynamicFunction()
Definition: DynamicsConstraint.h:67