39 "The size of the mask needs to equal " + std::to_string(
m_robot.
na()));
45 for (
unsigned int i = 0;
i < m.size();
i++)
48 m(
i) == 1.0,
"The mask entries need to equal either 0.0 or 1.0");
70 lower.size() ==
dim(),
71 "The size of the lower joint bounds vector needs to equal " +
72 std::to_string(
dim()));
74 upper.size() ==
dim(),
75 "The size of the upper joint bounds vector needs to equal " +
76 std::to_string(
dim()));
const Vector & lowerBound() const
bool setLowerBound(ConstRefVector lb)
const Vector & getUpperBounds() const
Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic > Matrix
const Vector & mask() const
bool setUpperBound(ConstRefVector ub)
RobotWrapper & m_robot
Reference on the robot model.
const ConstraintBase & getConstraint() const
TaskActuationBounds(const std::string &name, RobotWrapper &robot)
ConstraintInequality m_constraint
virtual bool setMatrix(ConstRefMatrix A)
int dim() const
Return the dimension of the task. should be overloaded in the child class.
void setBounds(ConstRefVector lower, ConstRefVector upper)
math::ConstRefVector ConstRefVector
void resize(const unsigned int r, const unsigned int c)
const ConstraintBase & compute(const double t, ConstRefVector q, ConstRefVector v, Data &data)
const Vector & upperBound() const
const Vector & getLowerBounds() const
Wrapper for a robot based on pinocchio.
#define PINOCCHIO_CHECK_INPUT_ARGUMENT(...)