Go to the documentation of this file.
42 std::string finger_name = finger_joints_pair.first;
45 for(
const auto& j : finger_joints_pair.second ) {
87 if ( _joints_internal_id_map.count(joint_name) ) {
89 internal_id = _joints_internal_id_map.at(joint_name);
100 if ( _finger_joints_internal_id_map.count(finger_name) ) {
102 internal_ids = _finger_joints_internal_id_map.at(finger_name);
112 return _fingers_names;
117 return ( _ee_description.count(finger_name) > 0 );
124 return _actuated_joints;
130 if( !isFinger(finger_name) ) {
135 actuated_joints = _ee_description.at(finger_name);
146 if( !isFinger(finger_name) ) {
151 return _ee_description.at(finger_name).size();
156 return _fingers_names.size();
int getFingersNumber()
getter for the number of fingers in the End-Effector
std::string getEndEffectorName() const
getter for the configure End-Effector name
Eigen::VectorXd getLowerPositionLimits()
getter for the lower position limits of EE joints as specified in the URDF
int getActuatedJointsNum()
getter for the number of actuated joints in the end-effector
EEInterface(const ROSEE::Parser &p)
bool getActuatedJointsInFinger(std::string finger_name, std::vector< std::string > &actuated_joints)
getter for the actuated joints of a finger
bool isFinger(std::string finger_name)
check is the requested finger exists
std::map< std::string, urdf::JointConstSharedPtr > getUrdfJointMap() const
getter for the URDF information of the joints of the End-Effector
std::string getName()
getter for the EE name
std::map< std::string, urdf::JointConstSharedPtr > _urdf_joint_map
std::map< std::string, std::vector< int > > _finger_joints_internal_id_map
const std::vector< std::string > & getFingers()
getter for the fingers name in the current End-Effector
std::map< std::string, std::vector< std::string > > getFingerJointMap() const
getter for a description of the End-Effector as a map of finger name, finger joint names....
std::vector< std::string > _fingers_names
int getActuatedJointsNumInFinger(std::string finger_name)
getter for the number of actuated joints in the requested finger
bool getInternalIdsForFinger(std::string finger_name, std::vector< int > &internal_ids)
getter for the internal ids (position in the EEInterface vectors) of joints in a certain finger
const std::vector< std::string > & getActuatedJoints()
getter for the actuated joints of the end-effector
bool getInternalIdForJoint(std::string joint_name, int &internal_id)
getter for the internal id of a certain joint
Eigen::VectorXd _lower_limits
Eigen::VectorXd getUpperPositionLimits()
getter for the upper position limits of EE joints as specified in the URDF
std::map< std::string, int > _joints_internal_id_map
int getActuatedJointsNumber() const
getter for the total number of actuated joints in the configuration files
std::vector< std::string > _actuated_joints
Class responsible for parsing the YAML file providing the URDF, SRDF, the EE-HAL library implementati...
Eigen::VectorXd _upper_limits
std::map< std::string, std::vector< std::string > > _ee_description
end-effector
Author(s): Luca Muratore
, Davide Torielli , Liana Bertoni
autogenerated on Sat Dec 14 2024 03:49:26