ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

rqt plugin not listed/found in list returned by "rqt --list-plugins"

asked 2013-10-15 08:51:32 -0600

Gripen gravatar image

updated 2013-11-14 11:49:03 -0600

tfoote gravatar image

I am writing a rqt plugin (ROS Hydro, Ubuntu 12.04.3 LTS, x86_64) at moment following the rqt tutorial: Create your new plugin.

Unfortunately, my plugin is not in the list returned by "rqt --list-plugins". rosrun also fails.

$ cd ~/rqt_ws/

$ catkin_make

$ rosrun rqt_mypkg rqt_mypkg

qt_gui_main() found no plugin matching "rqt_mypkg"

edit retag flag offensive close merge delete


I'm having the same issue using ROS Groovy. Everything builds and installs properly, but I can't run the plug-in. I can even open and build it without issue in QT Creator. I'm currently running off of the binary packages. Any advice?

Chief_534 gravatar image Chief_534  ( 2013-10-17 07:54:19 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-10-16 01:19:26 -0600

markpitchless gravatar image

updated 2013-10-31 06:40:36 -0600

Appears to be a problem with rqt caching the locations of plugins in its config and not updating that info. A workaround that works for me is delete that cache and restart rqt:

$ rm ~/.config/
$ rqt

A 2nd workaround: this appears to work using the latest rqt source (groovy-devel branch, which is also used to build the hydro packages), so this looks like a bug in the released packages as opposed to a problem with the tutorial. I added the following to my hydro workspace:

- git: {local-name: qt_gui_core, uri: ''}
- git: {local-name: rqt, uri: ''}
- git: {local-name: rqt_common_plugins, uri: ''}

and a new plugin was found and ran.

edit flag offensive delete link more



I have the same setup as the initiator (ROS Hydro, Ubuntu 12.04.3 LTS, x86_64) and face exactly the same problem. Also overlaying the proposed meta-packages did not solve the problem.

Frederik gravatar image Frederik  ( 2013-10-26 07:26:29 -0600 )edit

This might be a bug. Follow this issue for details: .

bit-pirate gravatar image bit-pirate  ( 2013-11-04 14:21:56 -0600 )edit

Thank you very much ! The problem had confused me a long time .

zsbhaha gravatar image zsbhaha  ( 2014-04-19 18:50:35 -0600 )edit

I am having the same problem. When you say you've added this to your hydro workspace, how exactly is that done. I am working in ROS Groovy.

dennis.tryk gravatar image dennis.tryk  ( 2014-08-06 03:09:31 -0600 )edit

If you follow the bug in question, the fix for this is to add the --force-discover option when running rqt.

ahendrix gravatar image ahendrix  ( 2014-08-06 03:58:59 -0600 )edit

Just want to say thank you ! I even tried to reinstall ros but doesn't work. Because the config file never been removed....

Mike Zobot gravatar image Mike Zobot  ( 2018-04-20 14:06:37 -0600 )edit

Question Tools



Asked: 2013-10-15 08:51:32 -0600

Seen: 11,210 times

Last updated: Oct 31 '13