|
mc_rtc
2.14.0
|
#include <mc_control/Contact.h>
Public Member Functions | |
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW | Contact (const std::optional< std::string > &r1, const std::optional< std::string > &r2, const std::string &r1Surface, const std::string &r2Surface, double friction=mc_rbdyn::Contact::defaultFriction, const Eigen::Vector6d &dof=Eigen::Vector6d::Ones()) |
| bool | operator== (const Contact &rhs) const |
| bool | operator!= (const Contact &rhs) const |
| Contact ()=default | |
Static Public Member Functions | |
| static Contact | from_mc_rbdyn (const MCController &, const mc_rbdyn::Contact &) |
Public Attributes | |
| std::optional< std::string > | r1 |
| std::optional< std::string > | r2 |
| std::string | r1Surface |
| std::string | r2Surface |
| double | friction |
| Eigen::Vector6d | dof |
A lightweight variant of mc_rbdyn::Contact meant to simplify contact manipulations
If r1 or r2 is std::nullopt then the controller will use the main robot instead
|
inline |
|
default |
Default constructor, invalid contact
|
static |
Conversion from mc_rbdyn::Contact
|
inline |
|
inline |
|
mutable |
|
mutable |
| std::optional<std::string> mc_control::Contact::r1 |
| std::string mc_control::Contact::r1Surface |
| std::optional<std::string> mc_control::Contact::r2 |
| std::string mc_control::Contact::r2Surface |