|
mc_rtc
2.14.0
|
#include <mc_rbdyn/RobotModule.h>
Classes | |
| struct | Safety |
Public Member Functions | |
| Gripper (const std::string &name, const std::vector< std::string > &joints, bool reverse_limits) | |
| Gripper (const std::string &name, const std::vector< std::string > &joints, bool reverse_limits, const Safety &safety) | |
| Gripper (const std::string &name, const std::vector< std::string > &joints, bool reverse_limits, const Safety &safety, const std::vector< Mimic > &mimics) | |
| const Safety * | safety () const |
| const std::vector< Mimic > * | mimics () const |
Public Attributes | |
| std::string | name |
| std::vector< std::string > | joints |
| bool | reverse_limits |
Holds necessary information to create a gripper
| mc_rbdyn::RobotModule::Gripper::Gripper | ( | const std::string & | name, |
| const std::vector< std::string > & | joints, | ||
| bool | reverse_limits | ||
| ) |
Constructor with no mimics and no safety information
| mc_rbdyn::RobotModule::Gripper::Gripper | ( | const std::string & | name, |
| const std::vector< std::string > & | joints, | ||
| bool | reverse_limits, | ||
| const Safety & | safety | ||
| ) |
Constructor with safety parameters but no mimics information
| mc_rbdyn::RobotModule::Gripper::Gripper | ( | const std::string & | name, |
| const std::vector< std::string > & | joints, | ||
| bool | reverse_limits, | ||
| const Safety & | safety, | ||
| const std::vector< Mimic > & | mimics | ||
| ) |
Constructor with mimics and safety information
|
inline |
Returns the mimics parameters if provided, otherwise a nullptr
|
inline |
Returns the safety parameters if provided, otherwise a nullptr
| std::vector<std::string> mc_rbdyn::RobotModule::Gripper::joints |
Active joints in the gripper
| std::string mc_rbdyn::RobotModule::Gripper::name |
Gripper's name
| bool mc_rbdyn::RobotModule::Gripper::reverse_limits |
Whether the limits should be reversed, see mc_control::Gripper