Public Member Functions | Private Member Functions | Private Attributes | List of all members
gazebo::ROSVacuumGripperPlugin Class Reference

ROS interface for the VacuumGripperPlugin plugin. More...

#include <ROSVacuumGripperPlugin.hh>

Inheritance diagram for gazebo::ROSVacuumGripperPlugin:
Inheritance graph
[legend]

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< ROSVacuumGripperPluginPrivatedataPtr
 

Detailed Description

ROS interface for the VacuumGripperPlugin plugin.

Definition at line 33 of file ROSVacuumGripperPlugin.hh.

Constructor & Destructor Documentation

ROSVacuumGripperPlugin::ROSVacuumGripperPlugin ( )

Constructor.

Definition at line 48 of file ROSVacuumGripperPlugin.cc.

ROSVacuumGripperPlugin::~ROSVacuumGripperPlugin ( )
virtual

Destructor.

Definition at line 55 of file ROSVacuumGripperPlugin.cc.

Member Function Documentation

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.

Parameters
[in]_reqThe message to control the gripper.
[out]_repIf the service succeed or not.

Definition at line 109 of file ROSVacuumGripperPlugin.cc.

void ROSVacuumGripperPlugin::Publish ( ) const
privatevirtual

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.

Member Data Documentation

std::unique_ptr<ROSVacuumGripperPluginPrivate> gazebo::ROSVacuumGripperPlugin::dataPtr
private

Definition at line 59 of file ROSVacuumGripperPlugin.hh.


The documentation for this class was generated from the following files:


osrf_gear
Author(s):
autogenerated on Wed Sep 7 2016 03:48:13