Utility struct for managing each finger of Shadow Hand. Contains all the information about the Finger instance, including joint limits, MoveGroup, MoveIt plan, and joint control publishers.
More...
#include "include/shadowlibs/shadow_finger.hpp"
|
struct | BioTac |
| Utility struct for managing the BioTac sensor attached to each finger. Holds the pressure and impedance data obtained from the sensor. More...
|
|
Utility struct for managing each finger of Shadow Hand. Contains all the information about the Finger instance, including joint limits, MoveGroup, MoveIt plan, and joint control publishers.
shadow_finger::Finger::Finger |
( |
std::string & |
finger_name, |
|
|
ros::NodeHandle & |
node_handle |
|
) |
| |
|
inline |
Constructor for each finger. Requires name of finger and a ROS node handle reference. Everything else is populated by constructor.
- Parameters
-
finger_name | Name of the finger |
node_handle | ROS node handle reference |
std::string shadow_finger::Finger::getFingerName |
( |
| ) |
|
|
inline |
Getter function for finger name.
- Returns
- String with the finger name
float shadow_finger::Finger::getFSRValue |
( |
| ) |
|
std::tuple<float, float> shadow_finger::Finger::jointLimitsFromName |
( |
std::string & |
joint_name | ) |
|
|
inline |
Get joint limits from joint name, from vector of tuples populated by getFingerJointLimits()
- Parameters
-
joint_name | Name of the joint whose limits are to be fetched |
- Returns
- tuple containing upper and lower limits of joint
shadow_finger::Finger::_biotac_id |
The index of the BioTac sensor.
shadow_finger::Finger::_finger_move_group |
MoveGroupInterface for this finger.
shadow_finger::Finger::_finger_name |
The name of this finger instance.
shadow_finger::Finger::_fsr_topic |
Subscriber topic for getting FSR data for finger.
shadow_finger::Finger::_joint_controller_publishers |
Vector of ROS publishers, for sending control data for each joint in finger.
shadow_finger::Finger::_joint_limits |
Vector of tuples of joint limits of each joint in finger.
shadow_finger::Finger::_joint_names |
Vector of strings of all joints in this finger.
shadow_finger::Finger::_node_handle |
shadow_finger::Finger::_plan |
MoveIt plan generated for this finger.
The documentation for this struct was generated from the following files: