ROS interface for the Population plugin. More...
#include <ROSPopulationPlugin.hh>

Public Member Functions | |
| virtual void | Load (physics::WorldPtr _world, sdf::ElementPtr _sdf) |
| bool | OnPopulationControl (osrf_gear::PopulationControl::Request &_req, osrf_gear::PopulationControl::Response &_res) |
| Receives messages for controlling the object population plugin on the object population's topic. | |
| virtual void | Reset () |
| Documentation inherited. | |
| ROSPopulationPlugin () | |
| Constructor. | |
| virtual | ~ROSPopulationPlugin () |
| Destructor. | |
Private Member Functions | |
| virtual void | Publish () const |
| Overwrite this method for sending periodic updates with the plugin state. | |
Private Attributes | |
| std::unique_ptr < ROSPopulationPluginPrivate > | dataPtr |
| Private data pointer. | |
ROS interface for the Population plugin.
Definition at line 33 of file ROSPopulationPlugin.hh.
Constructor.
Definition at line 51 of file ROSPopulationPlugin.cc.
| ROSPopulationPlugin::~ROSPopulationPlugin | ( | ) | [virtual] |
Destructor.
Definition at line 58 of file ROSPopulationPlugin.cc.
| void ROSPopulationPlugin::Load | ( | physics::WorldPtr | _world, |
| sdf::ElementPtr | _sdf | ||
| ) | [virtual] |
Reimplemented from gazebo::PopulationPlugin.
Definition at line 64 of file ROSPopulationPlugin.cc.
| bool ROSPopulationPlugin::OnPopulationControl | ( | osrf_gear::PopulationControl::Request & | _req, |
| osrf_gear::PopulationControl::Response & | _res | ||
| ) |
Receives messages for controlling the object population plugin on the object population's topic.
| [in] | _req | The message to control the object population plugin. |
| [out] | _rep | If the service succeed or not. |
Definition at line 117 of file ROSPopulationPlugin.cc.
| void ROSPopulationPlugin::Publish | ( | ) | const [private, virtual] |
Overwrite this method for sending periodic updates with the plugin state.
Reimplemented from gazebo::PopulationPlugin.
Definition at line 140 of file ROSPopulationPlugin.cc.
| void ROSPopulationPlugin::Reset | ( | ) | [virtual] |
Documentation inherited.
Definition at line 112 of file ROSPopulationPlugin.cc.
std::unique_ptr<ROSPopulationPluginPrivate> gazebo::ROSPopulationPlugin::dataPtr [private] |
Private data pointer.
Reimplemented from gazebo::PopulationPlugin.
Definition at line 60 of file ROSPopulationPlugin.hh.