18 #ifndef __ROSEE_EE_INTERFACE__ 19 #define __ROSEE_EE_INTERFACE__ 27 #include <Eigen/Dense> 40 typedef std::shared_ptr<EEInterface>
Ptr;
41 typedef std::shared_ptr<const EEInterface>
ConstPtr;
61 bool isFinger( std::string finger_name );
163 #endif // __ROSEE_EE_INTERFACE__ std::shared_ptr< EEInterface > Ptr
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 ...
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
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
std::shared_ptr< const EEInterface > ConstPtr
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
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)
Class representing and End-Effector.
std::map< std::string, std::vector< int > > _finger_joints_internal_id_map