18 #ifndef _ROS_VACUUM_GRIPPER_PLUGIN_HH_ 19 #define _ROS_VACUUM_GRIPPER_PLUGIN_HH_ 22 #include <gazebo/physics/PhysicsTypes.hh> 24 #include "osrf_gear/VacuumGripperControl.h" 30 class ROSVacuumGripperPluginPrivate;
42 public:
virtual void Load(physics::ModelPtr _parent, sdf::ElementPtr _sdf);
45 public:
virtual void Reset();
51 osrf_gear::VacuumGripperControl::Request &_req,
52 osrf_gear::VacuumGripperControl::Response &_res);
55 private:
virtual void Publish()
const;
59 private: std::unique_ptr<ROSVacuumGripperPluginPrivate>
dataPtr;
virtual ~ROSVacuumGripperPlugin()
Destructor.
std::unique_ptr< ROSVacuumGripperPluginPrivate > dataPtr
virtual void Reset()
Documentation inherited.
virtual void Publish() const
Overwrite this method for sending periodic updates with the gripper state.
ROS interface for the VacuumGripperPlugin plugin.
bool OnGripperControl(osrf_gear::VacuumGripperControl::Request &_req, osrf_gear::VacuumGripperControl::Response &_res)
Receives messages on the gripper's topic.
ROSVacuumGripperPlugin()
Constructor.
virtual void Load(physics::ModelPtr _parent, sdf::ElementPtr _sdf)