#include <VacuumGripperPlugin.hh>

Public Member Functions | |
| bool | Attached () const |
| True if the gripper is attached to another model. More... | |
| void | Disable () |
| Disable the suction. More... | |
| void | Enable () |
| Enable the suction. More... | |
| bool | Enabled () const |
| Whether the suction of the gripper has been enabled. More... | |
| virtual void | Load (physics::ModelPtr _model, sdf::ElementPtr _sdf) |
| std::string | Name () const |
| Return the name of the gripper. More... | |
| virtual void | Reset () |
| Documentation inherited. More... | |
| VacuumGripperPlugin () | |
| Constructor. More... | |
| virtual | ~VacuumGripperPlugin () |
| Destructor. More... | |
Private Member Functions | |
| void | HandleAttach () |
| Attach an object to the gripper. More... | |
| void | HandleDetach () |
| Detach an object from the gripper. More... | |
| void | OnContacts (ConstContactsPtr &_msg) |
| Callback used when the gripper contacts an object. More... | |
| void | OnUpdate () |
| Update the gripper. More... | |
| virtual void | Publish () const |
| Overwrite this method for sending periodic updates with the gripper state. More... | |
Private Attributes | |
| std::unique_ptr< VacuumGripperPluginPrivate > | dataPtr |
Definition at line 35 of file VacuumGripperPlugin.hh.
|
explicit |
Constructor.
Definition at line 164 of file VacuumGripperPlugin.cc.
|
virtual |
Destructor.
Definition at line 174 of file VacuumGripperPlugin.cc.
| bool VacuumGripperPlugin::Attached | ( | ) | const |
True if the gripper is attached to another model.
Definition at line 346 of file VacuumGripperPlugin.cc.
| void VacuumGripperPlugin::Disable | ( | ) |
Disable the suction.
Definition at line 359 of file VacuumGripperPlugin.cc.
| void VacuumGripperPlugin::Enable | ( | ) |
Enable the suction.
Definition at line 352 of file VacuumGripperPlugin.cc.
| bool VacuumGripperPlugin::Enabled | ( | ) | const |
Whether the suction of the gripper has been enabled.
Definition at line 340 of file VacuumGripperPlugin.cc.
|
private |
Attach an object to the gripper.
Definition at line 446 of file VacuumGripperPlugin.cc.
|
private |
Detach an object from the gripper.
Definition at line 520 of file VacuumGripperPlugin.cc.
|
virtual |
Reimplemented in gazebo::ROSVacuumGripperPlugin.
Definition at line 184 of file VacuumGripperPlugin.cc.
| std::string VacuumGripperPlugin::Name | ( | ) | const |
Return the name of the gripper.
Definition at line 334 of file VacuumGripperPlugin.cc.
|
private |
Callback used when the gripper contacts an object.
| [in] | _msg | Message that contains contact information. |
Definition at line 427 of file VacuumGripperPlugin.cc.
|
private |
Update the gripper.
Definition at line 369 of file VacuumGripperPlugin.cc.
|
privatevirtual |
Overwrite this method for sending periodic updates with the gripper state.
Reimplemented in gazebo::ROSVacuumGripperPlugin.
Definition at line 527 of file VacuumGripperPlugin.cc.
|
virtual |
Documentation inherited.
Reimplemented in gazebo::ROSVacuumGripperPlugin.
Definition at line 324 of file VacuumGripperPlugin.cc.
|
private |
Definition at line 85 of file VacuumGripperPlugin.hh.