ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

rviz in Qt

asked 2011-05-29 21:19:39 -0500

mittik gravatar image

updated 2014-01-28 17:09:45 -0500

ngrennan gravatar image


I spent about an hour to find a similar question (and an answer), but could not succeed.

I have a Qt-based GUI application to send messages to my robot from a remote cockpit PC. To see the effect of these messages, I am running rviz as a separate application on the cockpit PC. Now I wish to embed rviz into my GUI, so that I have a single application that does both.

Is it possible to embed rviz into Qt without rewriting a major part of rviz? If yes, then where is this explained? Is there an example/tutorial?

I'm using qt 4.7.0 32-bit and ROS DiamondBack, on Ubuntu 10.04.1 LTS.

Thanks in advance.

edit retag flag offensive close merge delete

4 Answers

Sort by ยป oldest newest most voted

answered 2011-05-30 02:07:34 -0500

dornhege gravatar image

My guess is that it is not easily possible. As far as I know it is based on wxWidgets and OGRE.

Maybe the other way around is easier for you: Embedding your application into rviz.

edit flag offensive delete link more


Thanks for the clear answer.
mittik gravatar image mittik  ( 2011-05-30 03:58:55 -0500 )edit

answered 2014-08-22 09:56:27 -0500

Vincent Rabaud gravatar image

that's probably the tutorial you are looking for:

edit flag offensive delete link more

answered 2011-12-14 00:54:10 -0500

Yep, someone has made it work with the new Qt version:

edit flag offensive delete link more

answered 2011-12-13 23:50:11 -0500

HNygaard gravatar image

Looks like it's being moved to Qt in the next release, see: Fuerte plans and News where an experimental release was announced on Dec. 1st

Please do share if you have any success embedding rviz in Qt


edit flag offensive delete link more

Question Tools


Asked: 2011-05-29 21:19:39 -0500

Seen: 4,203 times

Last updated: Aug 22 '14