Class CoP
Defined in File CoP.h
Inheritance Relationships
Base Type
public OpenSoT::Constraint< Eigen::MatrixXd, Eigen::VectorXd >
(Template Class Constraint)
Class Documentation
-
class CoP : public OpenSoT::Constraint<Eigen::MatrixXd, Eigen::VectorXd>
-
Public Functions
-
CoP(const std::string &contact_link, const AffineHelper &wrench, XBot::ModelInterface &model, const Eigen::Vector2d &X_Lims, const Eigen::Vector2d &Y_Lims)
CoP constructor of the CoP constraint.
- Parameters
model – of the robot
wrenche – affine helper
contact_link – frame in contact with the environment
X_Lims – [xl, xu] limits w.r.t. contact frame
Y_Lims – [yl, yu] limits
-
virtual void update()
Updates the A, b, Aeq, beq, Aineq, b*Bound matrices.
-
CoP(const std::string &contact_link, const AffineHelper &wrench, XBot::ModelInterface &model, const Eigen::Vector2d &X_Lims, const Eigen::Vector2d &Y_Lims)