Public Member Functions | Private Attributes
gazebo::GazeboGraspGripper Class Reference

Helper class for GazeboGraspFix which holds information for one arm. Attaches /detaches objects to the palm of this arm. More...

#include <GazeboGraspGripper.h>

List of all members.

Public Member Functions

const std::string & attachedObject () const
 GazeboGraspGripper ()
 GazeboGraspGripper (const GazeboGraspGripper &o)
const std::string & getGripperName () const
bool HandleAttach (const std::string &objName)
void HandleDetach (const std::string &objName)
bool hasCollisionLink (const std::string &linkName) const
bool hasLink (const std::string &linkName) const
bool Init (physics::ModelPtr &_model, const std::string &_gripperName, const std::string &palmLinkName, const std::vector< std::string > &fingerLinkNames, bool _disableCollisionsOnAttach, std::map< std::string, physics::CollisionPtr > &_collisions)
bool isObjectAttached () const
virtual ~GazeboGraspGripper ()

Private Attributes

bool attached
std::string attachedObjName
std::map< std::string,
physics::CollisionPtr > 
collisionElems
bool disableCollisionsOnAttach
physics::JointPtr fixedJoint
std::string gripperName
std::vector< std::string > linkNames
physics::ModelPtr model
physics::LinkPtr palmLink

Detailed Description

Helper class for GazeboGraspFix which holds information for one arm. Attaches /detaches objects to the palm of this arm.

Author:
Jennifer Buehler

Definition at line 20 of file GazeboGraspGripper.h.


Constructor & Destructor Documentation

Definition at line 21 of file GazeboGraspGripper.cpp.

Definition at line 27 of file GazeboGraspGripper.cpp.

Definition at line 40 of file GazeboGraspGripper.cpp.


Member Function Documentation

const std::string & GazeboGraspGripper::attachedObject ( ) const

Definition at line 134 of file GazeboGraspGripper.cpp.

const std::string & GazeboGraspGripper::getGripperName ( ) const

Definition at line 104 of file GazeboGraspGripper.cpp.

bool GazeboGraspGripper::HandleAttach ( const std::string &  objName)
Parameters:
gripContactscontact forces on the object sorted by the link name colliding.

Definition at line 145 of file GazeboGraspGripper.cpp.

void GazeboGraspGripper::HandleDetach ( const std::string &  objName)

Definition at line 204 of file GazeboGraspGripper.cpp.

bool GazeboGraspGripper::hasCollisionLink ( const std::string &  linkName) const

Has the collision link name (Gazebo collision element name)

Definition at line 121 of file GazeboGraspGripper.cpp.

bool GazeboGraspGripper::hasLink ( const std::string &  linkName) const

Has the link name (URDF)

Definition at line 110 of file GazeboGraspGripper.cpp.

bool GazeboGraspGripper::Init ( physics::ModelPtr &  _model,
const std::string &  _gripperName,
const std::string &  palmLinkName,
const std::vector< std::string > &  fingerLinkNames,
bool  _disableCollisionsOnAttach,
std::map< std::string, physics::CollisionPtr > &  _collisions 
)
Parameters:
disableCollisionsOnAttachwhen an object is attached, collisions with it will be disabled. This is useful if the robot then still keeps wobbling.

Definition at line 46 of file GazeboGraspGripper.cpp.

Definition at line 128 of file GazeboGraspGripper.cpp.


Member Data Documentation

Definition at line 83 of file GazeboGraspGripper.h.

Definition at line 85 of file GazeboGraspGripper.h.

std::map<std::string, physics::CollisionPtr> gazebo::GazeboGraspGripper::collisionElems [private]

Definition at line 72 of file GazeboGraspGripper.h.

Definition at line 80 of file GazeboGraspGripper.h.

physics::JointPtr gazebo::GazeboGraspGripper::fixedJoint [private]

Definition at line 74 of file GazeboGraspGripper.h.

Definition at line 66 of file GazeboGraspGripper.h.

std::vector<std::string> gazebo::GazeboGraspGripper::linkNames [private]

Definition at line 69 of file GazeboGraspGripper.h.

physics::ModelPtr gazebo::GazeboGraspGripper::model [private]

Definition at line 63 of file GazeboGraspGripper.h.

physics::LinkPtr gazebo::GazeboGraspGripper::palmLink [private]

Definition at line 76 of file GazeboGraspGripper.h.


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


gazebo_grasp_plugin
Author(s): Jennifer Buehler
autogenerated on Tue May 7 2019 03:29:31