Public Member Functions | Private Member Functions | Private Attributes
gazebo::GazeboPluginLoader Class Reference

#include <GazeboPluginLoader.h>

List of all members.

Public Member Functions

 GazeboPluginLoader ()
void Load (int argc, char **argv)

Private Member Functions

void onWorldCreate ()

Private Attributes

event::ConnectionPtr update_connection

Detailed Description

System plugin which can be used to load World plugins dynamically, without the need of having to put them in the Gazebo world file.

The plugins to be loaded can be specified in a YAML file, which needs to be loaded onto the parameter server under **namespace gazebo_state_plugins**, as follows:

``` world_name: "default" world_plugins:

**Usage:**

This plugin is a system plugin which has to be loaded together with gazebo, e.g.:

``gzserver -s libgazebo_world_plugin_loader.so``

**Limitation:**

The method *WorldPlugin::Load(physics::WorldPtr, sdf::ElementPtr)* on the plugins will be called with a NULL sdf::ElementPtr. So the plugins should alternatively support reading their parameters from the ROS parameter server.

Author:
Jennifer Buehler

Definition at line 46 of file GazeboPluginLoader.h.


Constructor & Destructor Documentation

Definition at line 10 of file GazeboPluginLoader.cpp.


Member Function Documentation

void GazeboPluginLoader::Load ( int  argc,
char **  argv 
)

Definition at line 16 of file GazeboPluginLoader.cpp.

Definition at line 19 of file GazeboPluginLoader.cpp.


Member Data Documentation

Definition at line 55 of file GazeboPluginLoader.h.


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


gazebo_world_plugin_loader
Author(s): Jennifer Buehler
autogenerated on Tue May 7 2019 03:29:33