Ask Your Question
1

Creating an RVIZ plugin for a new display type

asked 2012-08-02 23:56:31 -0600

bgagnon gravatar image

Hello,

So for my project I created my own message type and was hoping to have it displayed in RVIZ. It is a slight adaptation of GridCells, but instead of containing a list of Points, it contains a list of a Point message that I created. The custom Point message contains two more pieces of information.

My problem is that the User Guide for RVIZ has told me that there is no API documentation. Is this still true? Is there any way for me to write a plugin? I think using RVIZ to display custom types of messages would make it even more powerful of a tool. Thanks for the help,

Blair

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2012-08-03 02:30:35 -0600

dornhege gravatar image

As far as I know the interface is still under development, so the API might not be stable, but there is a tutorial:

http://ros.org/doc/api/rviz_plugin_tutorials/html/display_plugin_tutorial.html

Depending on what you want to display, there is always the option to send everything as a marker array. That should work all the time, if applicable.

edit flag offensive delete link more
1

answered 2012-08-03 03:52:04 -0600

joq gravatar image

Creating new rviz plugins is difficult and not encouraged.

There is a new rqt project that provides a more general plugin interface. It should be better for new visualization work.

edit flag offensive delete link more

Comments

Two years passed... so is still this the situation? We plan to create a graphical editor to add semantic information to 2D/3D maps, and a RViz plugin could be the ideal solution. Rqt plugins look great for simple interfaces, but we need the fully-fledged 3D interface that RViz provides. Thanks!!!

jorge gravatar imagejorge ( 2014-08-18 08:52:39 -0600 )edit

Another year passed. Seems like there is no relief for plugin makers. I guess now they have these random tutorials but cannot seem to get the configuration correctly with catkin. The tutorials use ros_make. Anyone with experience???

mpkuse gravatar imagempkuse ( 2015-08-05 03:37:07 -0600 )edit

@mpkuse the visualization tutorial package is a catkin package, you can use that as a template: https://github.com/ros-visualization/...

William gravatar imageWilliam ( 2015-08-05 18:43:54 -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

Stats

Asked: 2012-08-02 23:56:31 -0600

Seen: 2,484 times

Last updated: Aug 03 '12