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... | |
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.
[in] | _model | The model which contains the Gripper. |
|
virtual |
Destructor.
std::string GetName | ( | ) | const |
Return the name of the gripper.
|
virtual |
Initialize.
bool IsAttached | ( | ) | const |
True if the gripper is attached to another model.
|
virtual |
Load the gripper.
[in] | _sdf | Shared point to an sdf element that contains the list of links in the gripper. |
|
protected |
Node for communication.