rqt gui - only one plugin per directory is loaded [closed]

asked 2013-01-11 00:57:35 -0600

Tobias gravatar image

updated 2013-01-13 11:51:08 -0600

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







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

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Tobias
close date 2013-01-13 11:51:59


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).

130s gravatar image 130s  ( 2013-01-12 12:52:19 -0600 )edit

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"/> ???

130s gravatar image 130s  ( 2013-01-12 12:53:51 -0600 )edit

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

Tobias gravatar image Tobias  ( 2013-01-13 11:50:42 -0600 )edit

@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 ;)

130s gravatar image 130s  ( 2013-01-14 07:45:07 -0600 )edit