Ask Your Question

Rviz and Nodelets

asked 2015-07-16 18:11:40 -0500

wng gravatar image

Is there a way to use nodelets that would allow drawing objects in Rviz without having to send messages/copy data? I would like to visualize a large triangle mesh that gets updated periodically (probably ~1 Hz) and don't want to have to send out a message/waste time copying data.

My understanding is that this is the primary motivation for nodelets, but I'm not sure if it would be possible to tack on my potential mesh nodelet onto the main Rviz process.

Any ideas? Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-07-16 18:53:53 -0500

William gravatar image

updated 2015-07-16 18:54:37 -0500

Unfortunately there is no nodelet for rviz at the moment. It may be possible to implement such a thing, but I'm not aware of anyone who has done this. If you're planning on trying to do something like this, you could ask ros-users to see if others have already done this or if others are interested in working on it with you.

rqt_rviz might be a starting point for for figuring out how to start an instance of rviz in your own C++ program:

Though there are some known issues when using rqt_rviz in conjunction with other C++ rqt nodes in the same process, but I'm sure if that would be an issue for you was well.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2015-07-16 18:11:40 -0500

Seen: 342 times

Last updated: Jul 16 '15