ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

How to run rqt plugin individually?

asked 2013-08-30 02:21:22 -0600

Sebastian G gravatar image

updated 2014-01-28 17:17:47 -0600

ngrennan gravatar image

Hi all,

I am currently working on a rqt plugin. The plugin is written in C++. By now the plugin can be loaded in the rqt GUI and is working. However, I have not found a way to debug my plugin from my Eclipse IDE.

Currently, I compile the rqt plugin as shared library. Is this the right way (I orientated my coding at the tutorials and other forum threads)? As long as I just have a shared library, I cannot debug my plugin in Eclipse (The attach to application feature is not working).

I would prefer to have an executable of my plugin that I can run with rosrun and debug in Eclipse. A further advantage would be, that the plugin could be used without the big rqt GUI. How do I have to setup my plugin, that it can be run individually?

Best regards.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-08-30 02:47:23 -0600

dornhege gravatar image

You can start rqt with the -s parameter in standalone mode only loading the plugin passed after the -s (i.e. yours).

edit flag offensive delete link more


Thats a good hint. Unfortunately, this does not solve my problem. In order to start debugging in Eclipse, I need to select an executable file. Neither rqt nor rosrun are executables but scripts. How could I get an executable file from my plugin?

Sebastian G gravatar image Sebastian G  ( 2013-09-01 22:55:29 -0600 )edit

rqt is python on the outside so it's all going to be a "script" though it is also an executable.

tfoote gravatar image tfoote  ( 2013-11-06 12:42:19 -0600 )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-08-30 02:21:22 -0600

Seen: 804 times

Last updated: Aug 30 '13