Class Contact
Defined in File Contact.h
Inheritance Relationships
Base Type
public OpenSoT::Task< Eigen::MatrixXd, Eigen::VectorXd >
(Template Class Task)
Class Documentation
-
class Contact : public OpenSoT::Task<Eigen::MatrixXd, Eigen::VectorXd>
-
Public Functions
-
Contact(std::string task_id, const XBot::ModelInterface &model, std::string link_name, const Eigen::MatrixXd &contact_matrix)
-
~Contact()
-
virtual void _update()
Updates the A, b, Aeq, beq, Aineq, b*Bound matrices.
-
const std::string &getLinkName() const
-
bool baseLinkIsWorld() const
-
const Eigen::VectorXd &getError() const
getError returns the 6d cartesian error (position and orientation) between actual and reference pose
- Returns
a \(R^{6}\) vector describing cartesian error between actual and reference pose
Protected Functions
-
void update_b()
-
Contact(std::string task_id, const XBot::ModelInterface &model, std::string link_name, const Eigen::MatrixXd &contact_matrix)