Ask Your Question
1

rqt plugin with custom icon in Ubuntu sidebar (Unity Launcher)

asked 2015-06-12 10:24:26 -0500

sam_123 gravatar image

updated 2015-06-12 10:24:50 -0500

Hi, is there a way to set a custom icon for a rqt plugin, that is then shown in the Ubuntu sidebar (Unity Launcher)? If you have several rqt plugins open, a custom icon would help to switch between the rqt windows.

I want basically replace the ROS icon in the image below:

image description

Thanks

edit retag flag offensive close merge delete

Comments

+1. But I just wanted to reiterate that rqt allows multiple tools/plugins laid out on a single window, as a screenshot in http://wiki.ros.org/rqt?action=Attach...

130s gravatar image 130s  ( 2015-06-13 17:51:42 -0500 )edit

Are you starting rqt and then select plugins from the menu or are you invoking individual plugins in standalone mode, e.g. rqt_graph, rqt_plot?

Dirk Thomas gravatar image Dirk Thomas  ( 2015-06-13 18:46:50 -0500 )edit

@Dirk Thomas, I invoke my own plugins usually in standalone mode.

sam_123 gravatar image sam_123  ( 2015-06-14 03:17:34 -0500 )edit

@130s, for the case where you have multiple plugins in the same window, it would be nice to define an icon for the perspective. Is that possible? I guess not (couldn't find something about it)

sam_123 gravatar image sam_123  ( 2015-06-14 03:19:57 -0500 )edit

No, perspectives currently don't have an icon.

Dirk Thomas gravatar image Dirk Thomas  ( 2015-06-14 11:03:06 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-06-14 11:02:08 -0500

Dirk Thomas gravatar image

The next release of rqt will use the plugin icon for the application when running in standalone mode: https://github.com/ros-visualization/...

If you have defined an icon for your plugin that will address your use case.

edit flag offensive delete link more

Comments

cool, thanks. Is it possible to do something similar for perspectives?

sam_123 gravatar image sam_123  ( 2015-06-14 11:54:48 -0500 )edit

Plugins already have an icon and they are provided with the ROS package. Perspectives are user created and don't have an icon. So that would require more effort - also from the user whenever a perspective is created. Therefore I don't think I will implement it but pull requests are always welcome.

Dirk Thomas gravatar image Dirk Thomas  ( 2015-06-14 23:10:56 -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

2 followers

Stats

Asked: 2015-06-12 10:24:26 -0500

Seen: 513 times

Last updated: Jun 14 '15