42 std::string finger_name = finger_joints_pair.first;
45 for(
const auto& j : finger_joints_pair.second ) {
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 ...
int getActuatedJointsNumber() const
getter for the total number of actuated joints in the configuration files
std::vector< std::string > _fingers_names
bool getActuatedJointsInFinger(std::string finger_name, std::vector< std::string > &actuated_joints)
getter for the actuated joints of a finger
std::vector< std::string > _actuated_joints
std::map< std::string, int > _joints_internal_id_map
std::map< std::string, std::vector< std::string > > _ee_description
int getFingersNumber()
getter for the number of fingers in the End-Effector
std::string getEndEffectorName() const
getter for the configure End-Effector name
const std::vector< std::string > & getActuatedJoints()
getter for the actuated joints of the end-effector
std::string getName()
getter for the EE name
bool getInternalIdForJoint(std::string joint_name, int &internal_id)
getter for the internal id of a certain joint
int getActuatedJointsNum()
getter for the number of actuated joints in the end-effector
Eigen::VectorXd getUpperPositionLimits()
getter for the upper position limits of EE joints as specified in the URDF
bool isFinger(std::string finger_name)
check is the requested finger exists
const std::vector< std::string > & getFingers()
getter for the fingers name in the current End-Effector
Eigen::VectorXd getLowerPositionLimits()
getter for the lower position limits of EE joints as specified in the URDF
std::map< std::string, urdf::JointConstSharedPtr > _urdf_joint_map
int getActuatedJointsNumInFinger(std::string finger_name)
getter for the number of actuated joints in the requested finger
std::map< std::string, urdf::JointConstSharedPtr > getUrdfJointMap() const
getter for the URDF information of the joints of the End-Effector
Class responsible for parsing the YAML file providing the URDF, SRDF, the EE-HAL library implementati...
Eigen::VectorXd _lower_limits
Eigen::VectorXd _upper_limits
EEInterface(const ROSEE::Parser &p)
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::map< std::string, std::vector< int > > _finger_joints_internal_id_map