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

rviz in Qt

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

mittik gravatar image

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

ngrennan gravatar image

Hi,

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
1

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

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

Comments

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

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

Vincent Rabaud gravatar image

that's probably the tutorial you are looking for: http://wiki.ros.org/rviz/Tutorials/Li...

edit flag offensive delete link more
1

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

Yep, someone has made it work with the new Qt version: http://comments.gmane.org/gmane.science.robotics.ros.user/15376

edit flag offensive delete link more
0

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

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

/Hjalte

edit flag offensive delete link more

Question Tools

Stats

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

Seen: 4,489 times

Last updated: Aug 22 '14