Helper class for GazeboGraspFix which holds information for one arm. Attaches /detaches objects to the palm of this arm.
More...
#include <GazeboGraspGripper.h>
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 23 of file GazeboGraspGripper.h.
GazeboGraspGripper::GazeboGraspGripper |
( |
| ) |
|
GazeboGraspGripper::~GazeboGraspGripper |
( |
| ) |
|
|
virtual |
const std::string & GazeboGraspGripper::attachedObject |
( |
| ) |
const |
const std::string & GazeboGraspGripper::getGripperName |
( |
| ) |
const |
bool GazeboGraspGripper::HandleAttach |
( |
const std::string & |
objName | ) |
|
- Parameters
-
gripContacts | contact forces on the object sorted by the link name colliding. |
Definition at line 129 of file GazeboGraspGripper.cpp.
void GazeboGraspGripper::HandleDetach |
( |
const std::string & |
objName | ) |
|
bool GazeboGraspGripper::hasCollisionLink |
( |
const std::string & |
linkName | ) |
const |
bool GazeboGraspGripper::hasLink |
( |
const std::string & |
linkName | ) |
const |
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
-
disableCollisionsOnAttach | when 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.
bool GazeboGraspGripper::isObjectAttached |
( |
| ) |
const |
bool gazebo::GazeboGraspGripper::attached |
|
private |
std::string gazebo::GazeboGraspGripper::attachedObjName |
|
private |
std::map<std::string, physics::CollisionPtr> gazebo::GazeboGraspGripper::collisionElems |
|
private |
bool gazebo::GazeboGraspGripper::disableCollisionsOnAttach |
|
private |
physics::JointPtr gazebo::GazeboGraspGripper::fixedJoint |
|
private |
std::string gazebo::GazeboGraspGripper::gripperName |
|
private |
std::vector<std::string> gazebo::GazeboGraspGripper::linkNames |
|
private |
physics::ModelPtr gazebo::GazeboGraspGripper::model |
|
private |
physics::LinkPtr gazebo::GazeboGraspGripper::palmLink |
|
private |
The documentation for this class was generated from the following files: