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

Writing a rqt plugin fails

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

MZofka gravatar image

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

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

Comments

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 -0600 )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 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
1

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

bit-pirate gravatar image
edit flag offensive delete link more
-1

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

MZofka gravatar image

@Thomas:

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">
<description>
An example GUI plugin.
</description>
<qtgui>
<label>My Plugin</label>
  <icon type="theme">system-help</icon>
  <statustip>Coming soon.</statustip>
</qtgui>
</class>
</library>
edit flag offensive delete link more

Comments

1

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 -0600 )edit

Question Tools

1 follower

Stats

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

Seen: 659 times

Last updated: Nov 04 '13