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. | |
virtual void | Reset () |
Documentation inherited. | |
ROSVacuumGripperPlugin () | |
Constructor. | |
virtual | ~ROSVacuumGripperPlugin () |
Destructor. | |
Private Member Functions | |
virtual void | Publish () const |
Overwrite this method for sending periodic updates with the gripper state. | |
Private Attributes | |
std::unique_ptr < ROSVacuumGripperPluginPrivate > | dataPtr |
ROS interface for the VacuumGripperPlugin plugin.
Definition at line 33 of file ROSVacuumGripperPlugin.hh.
Constructor.
Definition at line 48 of file ROSVacuumGripperPlugin.cc.
ROSVacuumGripperPlugin::~ROSVacuumGripperPlugin | ( | ) | [virtual] |
Destructor.
Definition at line 55 of file ROSVacuumGripperPlugin.cc.
void ROSVacuumGripperPlugin::Load | ( | physics::ModelPtr | _parent, |
sdf::ElementPtr | _sdf | ||
) | [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.
void ROSVacuumGripperPlugin::Publish | ( | ) | const [private, virtual] |
Overwrite this method for sending periodic updates with the gripper state.
Reimplemented from gazebo::VacuumGripperPlugin.
Definition at line 123 of file ROSVacuumGripperPlugin.cc.
void ROSVacuumGripperPlugin::Reset | ( | ) | [virtual] |
Documentation inherited.
Reimplemented from gazebo::VacuumGripperPlugin.
Definition at line 104 of file ROSVacuumGripperPlugin.cc.
std::unique_ptr<ROSVacuumGripperPluginPrivate> gazebo::ROSVacuumGripperPlugin::dataPtr [private] |
Reimplemented from gazebo::VacuumGripperPlugin.
Definition at line 59 of file ROSVacuumGripperPlugin.hh.