Robotics StackExchange | Archived questions

rqt gui - only one plugin per directory is loaded

Hi, i was developing rqt plugins. I realized, that only one plugin per directory is loaded. I have the following file structure

rqt_plugins/

rqt_plugins/plugin1/

rqt_plugins/plugin1/plugin.xml

...

rqt_plugins/plugin2

rqt_plugins/plugin2/plugin.xml

if i start rqt_gui, plugin1 is loaded. plugin2 is not.

if I change the structure by means of (mv plugin2 ..) to

rqtplugins/ rqtplugins/plugin1/ rqt_plugins/plugin1/plugin.xml ... plugin2 plugin2/plugin.xml

Both plugins get loaded.

I was wondering if only one plugin per directory is loaded, or if I am doing sth. wrong?

Some more information: ros-fuerte 0.1.6-s1355472732~precise ubuntu 12.04

Kind regards, Tobias

Asked by Tobias on 2013-01-11 01:57:35 UTC

Comments

1st of all, can you edit your post so that we can see better the directory structure? I spent 5+ minutes trying to understand what's going on but still not clear. I have no problem in loading 2 plugins in a single pkg (although on groovy).

Asked by 130s on 2013-01-12 13:52:19 UTC

Also, make sure you edit manifest/packapge.xml, as well as plugin.xml. Did you add ???

Asked by 130s on 2013-01-12 13:53:51 UTC

Hi, thanks for your answers. IsaacSaito, you were right. I gave the plugins the same name. Sorry for disturbing you.

Asked by Tobias on 2013-01-13 12:50:42 UTC

@Tobias not a disturbance at all. I just some clarification. Btw, I listed your plugin to the "known" plugin list http://goo.gl/1Nsfp if you're the same person ;)

Asked by 130s on 2013-01-14 08:45:07 UTC

Answers