Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
gazebo::GazeboRosGraspHack Class Reference

GazeboRosGraspHack controller. More...

#include <gazebo_ros_grasp_hack.h>

List of all members.

Public Member Functions

 GazeboRosGraspHack (Entity *parent)
 Constructor.
virtual ~GazeboRosGraspHack ()
 Destructor.

Protected Member Functions

virtual void FiniChild ()
 Finalize the controller.
virtual void InitChild ()
 Init the controller.
virtual void LoadChild (XMLConfigNode *node)
 Load the controller.
virtual void UpdateChild ()
 Update the controller.

Private Member Functions

void GraspHackConnect ()
void GraspHackDisconnect ()
void GraspHackQueueThread ()

Private Attributes

boost::thread callback_queue_thread_
ros::CallbackQueue grasp_hack_queue_
int graspHackConnectCount
 Keep track of number of connctions.
bool l_grasp
Pose3d l_grasp_relative_pose
Joint * l_gripper_l_finger_joint
double l_gripper_l_finger_joint_position
Body * l_gripper_l_finger_tip_body
Joint * l_gripper_l_finger_tip_joint
double l_gripper_l_finger_tip_joint_position
Body * l_gripper_palm_body
 The gripper links.
Joint * l_gripper_r_finger_joint
double l_gripper_r_finger_joint_position
Body * l_gripper_r_finger_tip_body
Joint * l_gripper_r_finger_tip_joint
double l_gripper_r_finger_tip_joint_position
Time last_time
 save last_time
boost::mutex lock
 A mutex to lock access to fields that are used in message callbacks.
Body * myParentBody
 The parent Body.
Model * myParentModel
 The parent Model.
ros::Publisher pub_
bool r_grasp
Pose3d r_grasp_relative_pose
Joint * r_gripper_l_finger_joint
double r_gripper_l_finger_joint_position
Body * r_gripper_l_finger_tip_body
Joint * r_gripper_l_finger_tip_joint
double r_gripper_l_finger_tip_joint_position
Body * r_gripper_palm_body
Joint * r_gripper_r_finger_joint
double r_gripper_r_finger_joint_position
Body * r_gripper_r_finger_tip_body
Joint * r_gripper_r_finger_tip_joint
double r_gripper_r_finger_tip_joint_position
std::string robotNamespace
ParamT< std::string > * robotNamespaceP
 for setting ROS name space
ros::NodeHandlerosnode_
 pointer to ros node
Vector3 rpyOffsets
ParamT< Vector3 > * rpyOffsetsP
std::string topicName
ParamT< std::string > * topicNameP
 topic name
Vector3 xyzOffsets
ParamT< Vector3 > * xyzOffsetsP
 allow specifying constant xyz and rpy offsets

Detailed Description

GazeboRosGraspHack controller.

Definition at line 98 of file gazebo_ros_grasp_hack.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 46 of file gazebo_ros_grasp_hack.cpp.

Destructor.

Definition at line 74 of file gazebo_ros_grasp_hack.cpp.


Member Function Documentation

void GazeboRosGraspHack::FiniChild ( ) [protected, virtual]

Finalize the controller.

Definition at line 281 of file gazebo_ros_grasp_hack.cpp.

Definition at line 113 of file gazebo_ros_grasp_hack.cpp.

Definition at line 119 of file gazebo_ros_grasp_hack.cpp.

Definition at line 291 of file gazebo_ros_grasp_hack.cpp.

void GazeboRosGraspHack::InitChild ( ) [protected, virtual]

Init the controller.

Definition at line 126 of file gazebo_ros_grasp_hack.cpp.

void GazeboRosGraspHack::LoadChild ( XMLConfigNode *  node) [protected, virtual]

Load the controller.

Parameters:
nodeXML config node

Definition at line 83 of file gazebo_ros_grasp_hack.cpp.

void GazeboRosGraspHack::UpdateChild ( ) [protected, virtual]

Update the controller.

Definition at line 162 of file gazebo_ros_grasp_hack.cpp.


Member Data Documentation

Definition at line 189 of file gazebo_ros_grasp_hack.h.

Definition at line 187 of file gazebo_ros_grasp_hack.h.

Keep track of number of connctions.

Definition at line 183 of file gazebo_ros_grasp_hack.h.

Definition at line 143 of file gazebo_ros_grasp_hack.h.

Definition at line 146 of file gazebo_ros_grasp_hack.h.

Definition at line 133 of file gazebo_ros_grasp_hack.h.

Definition at line 148 of file gazebo_ros_grasp_hack.h.

Definition at line 128 of file gazebo_ros_grasp_hack.h.

Definition at line 135 of file gazebo_ros_grasp_hack.h.

Definition at line 150 of file gazebo_ros_grasp_hack.h.

The gripper links.

Definition at line 126 of file gazebo_ros_grasp_hack.h.

Definition at line 134 of file gazebo_ros_grasp_hack.h.

Definition at line 147 of file gazebo_ros_grasp_hack.h.

Definition at line 129 of file gazebo_ros_grasp_hack.h.

Definition at line 136 of file gazebo_ros_grasp_hack.h.

Definition at line 149 of file gazebo_ros_grasp_hack.h.

save last_time

Definition at line 176 of file gazebo_ros_grasp_hack.h.

boost::mutex gazebo::GazeboRosGraspHack::lock [private]

A mutex to lock access to fields that are used in message callbacks.

Definition at line 173 of file gazebo_ros_grasp_hack.h.

The parent Body.

Definition at line 120 of file gazebo_ros_grasp_hack.h.

The parent Model.

Definition at line 123 of file gazebo_ros_grasp_hack.h.

Definition at line 160 of file gazebo_ros_grasp_hack.h.

Definition at line 144 of file gazebo_ros_grasp_hack.h.

Definition at line 152 of file gazebo_ros_grasp_hack.h.

Definition at line 138 of file gazebo_ros_grasp_hack.h.

Definition at line 154 of file gazebo_ros_grasp_hack.h.

Definition at line 130 of file gazebo_ros_grasp_hack.h.

Definition at line 140 of file gazebo_ros_grasp_hack.h.

Definition at line 156 of file gazebo_ros_grasp_hack.h.

Definition at line 127 of file gazebo_ros_grasp_hack.h.

Definition at line 139 of file gazebo_ros_grasp_hack.h.

Definition at line 153 of file gazebo_ros_grasp_hack.h.

Definition at line 131 of file gazebo_ros_grasp_hack.h.

Definition at line 141 of file gazebo_ros_grasp_hack.h.

Definition at line 155 of file gazebo_ros_grasp_hack.h.

Definition at line 180 of file gazebo_ros_grasp_hack.h.

ParamT<std::string>* gazebo::GazeboRosGraspHack::robotNamespaceP [private]

for setting ROS name space

Definition at line 179 of file gazebo_ros_grasp_hack.h.

pointer to ros node

Definition at line 159 of file gazebo_ros_grasp_hack.h.

Definition at line 170 of file gazebo_ros_grasp_hack.h.

Definition at line 169 of file gazebo_ros_grasp_hack.h.

Definition at line 164 of file gazebo_ros_grasp_hack.h.

ParamT<std::string>* gazebo::GazeboRosGraspHack::topicNameP [private]

topic name

Definition at line 163 of file gazebo_ros_grasp_hack.h.

Definition at line 168 of file gazebo_ros_grasp_hack.h.

allow specifying constant xyz and rpy offsets

Definition at line 167 of file gazebo_ros_grasp_hack.h.


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


pr2_arm_gazebo
Author(s): John Hsu
autogenerated on Mon Jan 6 2014 12:02:20