#include <mc_control/Contact.h>
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
◆ Contact() [1/2]
EIGEN_MAKE_ALIGNED_OPERATOR_NEW mc_control::Contact::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() |
|
) |
| |
|
inline |
◆ Contact() [2/2]
mc_control::Contact::Contact |
( |
| ) |
|
|
default |
Default constructor, invalid contact
◆ from_mc_rbdyn()
◆ operator!=()
bool mc_control::Contact::operator!= |
( |
const Contact & |
rhs | ) |
const |
|
inline |
◆ operator==()
bool mc_control::Contact::operator== |
( |
const Contact & |
rhs | ) |
const |
|
inline |
◆ dof
Eigen::Vector6d mc_control::Contact::dof |
|
mutable |
◆ friction
double mc_control::Contact::friction |
|
mutable |
◆ r1
std::optional<std::string> mc_control::Contact::r1 |
◆ r1Surface
std::string mc_control::Contact::r1Surface |
◆ r2
std::optional<std::string> mc_control::Contact::r2 |
◆ r2Surface
std::string mc_control::Contact::r2Surface |
The documentation for this class was generated from the following file: