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

rviz qt creator gui

asked 2013-08-19 22:43:17 -0600

acp gravatar image

updated 2014-01-28 17:17:42 -0600

ngrennan gravatar image

Hi all

I have a question.

I would like to develop a GUI. I want this GUI to interact with a robot running the navigation stack, further I would like to insert this GUI in RVIZ so I can have just a single GUI to deal with.

Can some body tell me the best way to tackle this issue.

I know that I can use qt-creator and CMakelist. I can also use ros-qt, which one would be the best and how can they be integrated in RVIZ.

By the way, I am running ros groovy.

In advance thank you for your help

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-08-20 00:54:58 -0600

mobadr gravatar image

Personally I use the quick and useful rqt_gui from rqt, you can integrate RVIZ in rqt_gui by choosing it from the plugins menu but you will have less viewing area if you have other plugins running, one way to solve that would be to close all RVIZ panels except Tools and Time

I've never used qt-creator so I can't comment on which might be better, hope that helps

edit flag offensive delete link more


Hi, thanx, ok, sounds interesting, my question now is how to create a GUI based on rqt_gui and then exported or build a plugin

acp gravatar image acp  ( 2013-08-20 01:22:14 -0600 )edit

The tutorials are good:

TommyP gravatar image TommyP  ( 2013-08-20 03:42:18 -0600 )edit

Ok, thank you for the replay, the issue no is that if I need to create my GUI first and then the plugin will call it and then I can visualise it in RVIZ

acp gravatar image acp  ( 2013-08-20 05:28:30 -0600 )edit

Well, I suspect that if you do the tutorials and understand that code you will be able to answer your question. If you are not familiar with QT maybe you have to read up on that before also.

TommyP gravatar image TommyP  ( 2013-08-20 08:11:21 -0600 )edit

ok, in a few words, I need to create my GUI based on QT, and then create the plugin so it can be visualised by rqt, rigt?

acp gravatar image acp  ( 2013-08-20 22:59:12 -0600 )edit

I guess I need to create a QWidget-based GUI, what kind of environment you may recommend to create it?

acp gravatar image acp  ( 2013-08-20 23:02:38 -0600 )edit

I use Emacs to write code to create an GUI. Or maybe I use QT Designer to graphically design how the UI should look and then write code to implement the GUI. All this is explained in the tutorials. Maybe you should read them and try to understand them.

TommyP gravatar image TommyP  ( 2013-08-21 01:44:46 -0600 )edit

I have been through the tutorial, I have to run the python example and I get the fowlloing error: PluginManager._load_plugin() could not load plugin "rqt_mypkg/My Plugin": do you have a clue? thanks.

acp gravatar image acp  ( 2013-08-22 02:29:24 -0600 )edit

Question Tools

1 follower


Asked: 2013-08-19 22:43:17 -0600

Seen: 3,246 times

Last updated: Aug 20 '13