Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
shadowrobot::HandCommander Class Reference

#include <hand_commander.hpp>

List of all members.

Public Member Functions

 HandCommander ()
void sendCommands (std::vector< sr_robot_msgs::joint > joint_vector)
 ~HandCommander ()
 Destructor.

Private Member Functions

void initializeEthercatHand ()

Private Attributes

bool ethercat_controllers_found
shadowhandRosLib::HandType hand_type
NodeHandle node_
 ros node handle
Publisher sr_hand_target_pub
 Publisher for the CAN hand targets.
boost::ptr_map< std::string,
Publisher
sr_hand_target_pub_map
 Publishers for the ethercat hand targets for every joint.

Static Private Attributes

static const double TIMEOUT_TO_DETECT_CONTROLLER_MANAGER = 3.0

Detailed Description

This ROS subscriber is used to issue commands to the hand / arm, from sending a set of targets, to changing the controller parameters.

Definition at line 61 of file hand_commander.hpp.


Constructor & Destructor Documentation

Definition at line 41 of file hand_commander.cpp.

Destructor.

Definition at line 60 of file hand_commander.cpp.


Member Function Documentation

init function for the ethercat hand It can be called if we know that there's an ethercat hand (pr2_controller_manager running)

Definition at line 64 of file hand_commander.cpp.

Definition at line 93 of file hand_commander.cpp.


Member Data Documentation

Definition at line 80 of file hand_commander.hpp.

Definition at line 79 of file hand_commander.hpp.

ros node handle

Definition at line 73 of file hand_commander.hpp.

Publisher for the CAN hand targets.

Definition at line 75 of file hand_commander.hpp.

boost::ptr_map<std::string,Publisher> shadowrobot::HandCommander::sr_hand_target_pub_map [private]

Publishers for the ethercat hand targets for every joint.

Definition at line 77 of file hand_commander.hpp.

Definition at line 88 of file hand_commander.hpp.


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


sr_hand
Author(s): Ugo Cupcic / ugo@shadowrobot.com, contact@shadowrobot.com
autogenerated on Fri Jan 3 2014 12:03:25