0
$\begingroup$

Rosanswers logo

I wrote a custom display type for RViz (see e.g. here) and I would like to have an icon displayed, when I browse for it in RViz.

In the above link, I see that there is a OculusDisplay.png in the directory icons/classes/.., but I can not figure out, how to link this. Does anybody know how this is done?


Originally posted by takahashi on ROS Answers with karma: 185 on 2015-07-17

Post score: 3

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

As far as I can tell, that's it, you've essentially figured it out.

For a custom display I put together, I just copied my png to the icons/classes/ directory, with the same name as the Display (I believe as it's found in the plugin_description.xml file).

With that done, it just worked.


Originally posted by kramer with karma: 1470 on 2015-07-17

This answer was ACCEPTED on the original site

Post score: 3


Original comments

Comment by takahashi on 2015-07-17:
lol, it's as easy as that. I forgot to change the name of the icon according to my display type, how silly.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.