rqt gui - only one plugin per directory is loaded [closed]
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
rqt_plugins/ rqt_plugins/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
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
).Also, make sure you edit manifest/packapge.xml, as well as plugin.xml. Did you add <export><rqt_gui plugin="${prefix}/%YOUR_2ND_PLUGIN%.xml"/> ???
Hi, thanks for your answers. IsaacSaito, you were right. I gave the plugins the same name. Sorry for disturbing you.
@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 ;)