Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
shadowhand_to_cyberglove_remapper::ShadowhandToCybergloveRemapper Class Reference

#include <shadowhand_to_cyberglove_remapper.h>

List of all members.

Public Member Functions

 ShadowhandToCybergloveRemapper ()
 ~ShadowhandToCybergloveRemapper ()

Private Member Functions

void init_names ()
void jointstatesCallback (const sensor_msgs::JointStateConstPtr &msg)

Private Attributes

CalibrationParsercalibration_parser
 the calibration parser containing the mapping matrix
Subscriber cyberglove_jointstates_sub
 subscriber to the jointstates topic from the cyberglove
std::vector< std::string > joints_names
 Vector containing all the joints names for the shadowhand.
NodeHandle n_tilde
NodeHandle node
 ROS node handles.
Publisher shadowhand_pub
 publish to the shadowhand sendupdate topic

Static Private Attributes

static const unsigned int number_hand_joints = 20

Detailed Description

This program remaps the force information contained in /joint_states coming from the hand to the /cybergraspforces topic used to control the cybergrasp.

Definition at line 45 of file shadowhand_to_cyberglove_remapper.h.


Constructor & Destructor Documentation

Init the publisher / subscriber, the joint names, read the calibratin matrix

Definition at line 46 of file shadowhand_to_cyberglove_remapper.cpp.

Definition at line 52 of file shadowhand_to_cyberglove_remapper.h.


Member Function Documentation

Init the vector containing the joints names

Definition at line 75 of file shadowhand_to_cyberglove_remapper.cpp.

process the joint_states callback: receives the message from the cyberglove node, remap it to the Dextrous hand and publish this message on a given topic

Parameters:
msgthe joint_states message

Definition at line 99 of file shadowhand_to_cyberglove_remapper.cpp.


Member Data Documentation

the calibration parser containing the mapping matrix

Definition at line 73 of file shadowhand_to_cyberglove_remapper.h.

subscriber to the jointstates topic from the cyberglove

Definition at line 69 of file shadowhand_to_cyberglove_remapper.h.

Vector containing all the joints names for the shadowhand.

Definition at line 67 of file shadowhand_to_cyberglove_remapper.h.

Definition at line 65 of file shadowhand_to_cyberglove_remapper.h.

ROS node handles.

Definition at line 65 of file shadowhand_to_cyberglove_remapper.h.

Number of joints in the hand

Definition at line 52 of file shadowhand_to_cyberglove_remapper.h.

publish to the shadowhand sendupdate topic

Definition at line 71 of file shadowhand_to_cyberglove_remapper.h.


The documentation for this class was generated from the following files:


sr_remappers
Author(s): Ugo Cupcic
autogenerated on Fri Jan 3 2014 12:05:01