A gripper abstraction.
More...
#include <physics/physics.hh>
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.
gazebo::physics::Gripper::Gripper |
( |
ModelPtr |
_model | ) |
|
|
explicit |
Constructor.
- Parameters
-
[in] | _model | The model which contains the Gripper. |
virtual gazebo::physics::Gripper::~Gripper |
( |
| ) |
|
|
virtual |
std::string gazebo::physics::Gripper::GetName |
( |
| ) |
const |
Return the name of the gripper.
virtual void gazebo::physics::Gripper::Init |
( |
| ) |
|
|
virtual |
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] | _sdf | Shared point to an sdf element that contains the list of links in the gripper. |
The documentation for this class was generated from the following file: