Contains a list of Phalanges and publishes corresponding icr_msgs/ContactPoints messages. More...
#include <grasp_server.h>
Public Member Functions | |
GraspServer () | |
void | spin () |
Collects the current contact poses from the Phalanges and publishes icr_msgs/ContactPoints messages. | |
~GraspServer () | |
Private Member Functions | |
bool | setObject (icr_msgs::SetObject::Request &req, icr_msgs::SetObject::Response &res) |
Private Attributes | |
ros::Publisher | grasp_pub_ |
boost::mutex | lock_ |
ros::NodeHandle | nh_ |
ros::NodeHandle | nh_private_ |
tf::StampedTransform | palm_pose_ |
std::vector< Phalange * > | phalanges_ |
Vector containing the phalanges of the hand - the order is important. | |
bool | ref_set_ |
ros::ServiceServer | set_obj_srv_ |
tf::TransformListener | tf_list_ |
Contains a list of Phalanges and publishes corresponding icr_msgs/ContactPoints messages.
Definition at line 26 of file grasp_server.h.
Definition at line 12 of file grasp_server.cpp.
Definition at line 61 of file grasp_server.cpp.
bool ICR::GraspServer::setObject | ( | icr_msgs::SetObject::Request & | req, |
icr_msgs::SetObject::Response & | res | ||
) | [private] |
Definition at line 68 of file grasp_server.cpp.
void ICR::GraspServer::spin | ( | ) |
Collects the current contact poses from the Phalanges and publishes icr_msgs/ContactPoints messages.
Definition at line 86 of file grasp_server.cpp.
ros::Publisher ICR::GraspServer::grasp_pub_ [private] |
Definition at line 42 of file grasp_server.h.
boost::mutex ICR::GraspServer::lock_ [private] |
Definition at line 44 of file grasp_server.h.
ros::NodeHandle ICR::GraspServer::nh_ [private] |
Definition at line 40 of file grasp_server.h.
ros::NodeHandle ICR::GraspServer::nh_private_ [private] |
Definition at line 40 of file grasp_server.h.
tf::StampedTransform ICR::GraspServer::palm_pose_ [private] |
Definition at line 47 of file grasp_server.h.
std::vector<Phalange*> ICR::GraspServer::phalanges_ [private] |
Vector containing the phalanges of the hand - the order is important.
Definition at line 53 of file grasp_server.h.
bool ICR::GraspServer::ref_set_ [private] |
Definition at line 45 of file grasp_server.h.
ros::ServiceServer ICR::GraspServer::set_obj_srv_ [private] |
Definition at line 41 of file grasp_server.h.
tf::TransformListener ICR::GraspServer::tf_list_ [private] |
Definition at line 46 of file grasp_server.h.