Home | Tutorials | Wiki | Issues
Ask Your Question
0

Are there in fact two system plugin types?

asked 2014-01-17 10:49:03 -0500

Filip Jares gravatar image

The Plugin overview tutorial lists various plugin types and it mentions the System plugin type among them. I realized that there are system plugins targeted at either gzserver or gzclient:

$ gzserver --help

  ...
  -s [ --server-plugin ] arg    Load a plugin.

$ gzclient --help

  ...
  -g [ --gui-plugin ] arg Load a plugin.

Questions:

  1. Is it correct that there are in fact two system plugin types, one targeted at the server and the other one targeted at the client? (Although both inherit from the same class, namely gazebo::SystemPlugin.)
  2. Does it make sense to have a system plugin targeted at both the gzserver and gzclient?
  3. Is the API documentation out of date when it says "gazebo::SystemPlugin is a plugin loaded within the gzserver on startup."
edit retag flag offensive close merge delete

Comments

I would recommend open an issue in the gazebo tracker to get the problem of API documentation fixed. Thanks.

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2014-01-20 09:48:00 -0500 )edit

to run the system plugin in server side : gzserver <sdf file=""> -s libsysplugin.so in clien side : gzclient -s libsysplugin.so

djou07 gravatar imagedjou07 ( 2015-06-22 06:11:15 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-01-20 03:59:47 -0500

Hi,

I haven't used SystemPlugins on server side yet but you can use those to get access to gazebo internals. This is a huge different between server and client side.

For example on client side you can directly access Ogre(gazebos rendering engine) to change visual things in gazebo.

so regarding your questions:

  1. yes this is correct

  2. in general no but maybe you can find a usecase...

  3. yeah this is wrong I start my SystemPlugin(s) only on client side! Should be something like: with ...gzserver or gzclient on startup

I hope this helps

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2014-01-17 10:49:03 -0500

Seen: 568 times

Last updated: Jan 20 '14