Public Member Functions | Protected Attributes | List of all members
gazebo::physics::Gripper Class Reference

A gripper abstraction. More...

#include <physics/physics.hh>

Public Member Functions

 Gripper (ModelPtr _model)
 Constructor. More...
 
virtual ~Gripper ()
 Destructor. More...
 
std::string GetName () const
 Return the name of the gripper. More...
 
virtual void Init ()
 Initialize. More...
 
bool IsAttached () const
 True if the gripper is attached to another model. More...
 
virtual void Load (sdf::ElementPtr _sdf)
 Load the gripper. More...
 

Protected Attributes

transport::NodePtr node
 Node for communication. More...
 

Detailed Description

A gripper abstraction.

A gripper is a collection of links that act as a gripper. This class will intelligently generate fixed joints between the gripper and an object within the gripper. This allows the object to be manipulated without falling or behaving poorly.

Constructor & Destructor Documentation

gazebo::physics::Gripper::Gripper ( ModelPtr  _model)
explicit

Constructor.

Parameters
[in]_modelThe model which contains the Gripper.
virtual gazebo::physics::Gripper::~Gripper ( )
virtual

Destructor.

Member Function Documentation

std::string gazebo::physics::Gripper::GetName ( ) const

Return the name of the gripper.

virtual void gazebo::physics::Gripper::Init ( )
virtual

Initialize.

bool gazebo::physics::Gripper::IsAttached ( ) const

True if the gripper is attached to another model.

Returns
True if the gripper is active and a joint has been created between the gripper and another model.
virtual void gazebo::physics::Gripper::Load ( sdf::ElementPtr  _sdf)
virtual

Load the gripper.

Parameters
[in]_sdfShared point to an sdf element that contains the list of links in the gripper.

Member Data Documentation

transport::NodePtr gazebo::physics::Gripper::node
protected

Node for communication.


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