ROS interface for the VacuumGripperPlugin plugin. More...
#include <ROSVacuumGripperPlugin.hh>
Public Member Functions | |
virtual void | Load (physics::ModelPtr _parent, sdf::ElementPtr _sdf) |
bool | OnGripperControl (osrf_gear::VacuumGripperControl::Request &_req, osrf_gear::VacuumGripperControl::Response &_res) |
Receives messages on the gripper's topic. More... | |
virtual void | Reset () |
Documentation inherited. More... | |
ROSVacuumGripperPlugin () | |
Constructor. More... | |
virtual | ~ROSVacuumGripperPlugin () |
Destructor. More... | |
Public Member Functions inherited from gazebo::VacuumGripperPlugin | |
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... | |
std::string | Name () const |
Return the name of the gripper. More... | |
VacuumGripperPlugin () | |
Constructor. More... | |
virtual | ~VacuumGripperPlugin () |
Destructor. More... | |
Private Member Functions | |
virtual void | Publish () const |
Overwrite this method for sending periodic updates with the gripper state. More... | |
Private Attributes | |
std::unique_ptr< ROSVacuumGripperPluginPrivate > | dataPtr |
ROS interface for the VacuumGripperPlugin plugin.
Definition at line 33 of file ROSVacuumGripperPlugin.hh.
ROSVacuumGripperPlugin::ROSVacuumGripperPlugin | ( | ) |
Constructor.
Definition at line 48 of file ROSVacuumGripperPlugin.cc.
|
virtual |
Destructor.
Definition at line 55 of file ROSVacuumGripperPlugin.cc.
|
virtual |
Reimplemented from gazebo::VacuumGripperPlugin.
Definition at line 61 of file ROSVacuumGripperPlugin.cc.
bool ROSVacuumGripperPlugin::OnGripperControl | ( | osrf_gear::VacuumGripperControl::Request & | _req, |
osrf_gear::VacuumGripperControl::Response & | _res | ||
) |
Receives messages on the gripper's topic.
[in] | _req | The message to control the gripper. |
[out] | _rep | If the service succeed or not. |
Definition at line 109 of file ROSVacuumGripperPlugin.cc.
|
privatevirtual |
Overwrite this method for sending periodic updates with the gripper state.
Reimplemented from gazebo::VacuumGripperPlugin.
Definition at line 123 of file ROSVacuumGripperPlugin.cc.
|
virtual |
Documentation inherited.
Reimplemented from gazebo::VacuumGripperPlugin.
Definition at line 104 of file ROSVacuumGripperPlugin.cc.
|
private |
Definition at line 59 of file ROSVacuumGripperPlugin.hh.