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.
◆ Gripper()
Constructor.
- Parameters
-
[in] | _model | The model which contains the Gripper. |
◆ ~Gripper()
◆ Init()
◆ IsAttached()
bool 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.
◆ Load()
virtual void 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. |
◆ Name()
std::string Name |
( |
| ) |
const |
Return the name of the gripper.
- Returns
- Name of the gripper
The documentation for this class was generated from the following file: