Ask Your Question

Writing a rqt plugin fails

asked 2013-10-28 21:33:15 -0500

MZofka gravatar image

updated 2013-11-14 11:48:56 -0500

tfoote gravatar image

Dear ROS users,

i tried to implement a C++ plugin (lets call it rqt_myplugin) following the tutorial rqt/Tutorials/Writing a C++ Plugin and the rqt_plugin ImageView. I am quite sure, that namespaces and classes are well defined in all necessary files. The problem is, that when i am trying to execute my plugin by running

rosrun rqt_myplugin rqt_myplugin

i get the message:

qt_gui_main() found no plugin matching "rqt_myplugin"

Rqt doesn't show the plugin neither.

Could you explain, how rqt is aware of my created plugin? I thought that it should be enough to source devel/setup.bash.

I am using ROS Hydro and Kubuntu 12.10 32Bit.

edit retag flag offensive close merge delete


Did you add your plugin to your ROS path? I.e. what does `rospack find rqt_myplugin` return? Did you edit the plugin.xml file properly and doe the name match what your put in `rqt_myplugin`? Please provide us your current plugin.xml file.

Thomas gravatar image Thomas  ( 2013-10-28 22:59:35 -0500 )edit

Your plugin.xml seems ok. How is called your plug-in? (I mean the `.so` file)

Thomas gravatar image Thomas  ( 2013-10-29 23:25:36 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2013-11-04 13:38:51 -0500

bit-pirate gravatar image
edit flag offensive delete link more

answered 2013-10-28 23:12:08 -0500

MZofka gravatar image


rospack find rqt_myplugin

delivers the path to my package folder in the catkin ws:

/home/ [...] /catkin_ws/src/rqt_myplugin

This is my plugin.xml:

<library path="lib/librqt_myplugin">
<class name="rqt_myplugin/CalibrationView" type="rqt_myplugin::CalibrationView" base_class_type="rqt_gui_cpp::Plugin">
An example GUI plugin.
<label>My Plugin</label>
  <icon type="theme">system-help</icon>
  <statustip>Coming soon.</statustip>
edit flag offensive delete link more



Please edit your question instead of replying to it. Especially in your case your question just switched from no answer to at least one answer which will reduce its visibility.

Thomas gravatar image Thomas  ( 2013-10-29 23:24:55 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-10-28 21:33:15 -0500

Seen: 565 times

Last updated: Nov 04 '13