Ask Your Question
3

QT and ROS

asked 2012-08-15 13:14:20 -0500

updated 2014-01-28 17:13:20 -0500

ngrennan gravatar image

Hi guys,

I have recently started using Qt for some basic GUI front end for my applications in ROS. I am currently using Qmake directly to perform the necessary operations with my ROS program.

I would like to know what is the benefit of using the Qt-ROS package over the normal Qt? Because I am currently developing my Qt app with the help of Qt creator and using terminal signals for various push buttons and other such operations.

Is there any benefit other than having Qt inside the ROS package?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-09-06 08:07:08 -0500

130s gravatar image

Though not a complete answer, here are some advantages of using qt_create pkg in qt_ros stack:

  • Upon creating pkg, CMakeLists.txt will be modified, which allows you to build pkg (by rosmake) that uses Qt on the fly
    • MOC files will be generated automatically
    • include paths, library paths are filled.
    • Qt's resource files will be integrated.
  • A class automatically generated called QNode provides interface between ROS and your Qt codes.

Although qt_create is deprecated in fuerte(http://www.ros.org/wiki/qt_create), it still works fine on my environment. HTH.

edit flag offensive delete link more

Comments

Thanks for that bit of info. If you say qt_create is being deprecated from fuerte then is there any replacement for that for the fuerte and future releases? Because being at the starting point i really would not want to use a deprecated stack. Thanks

SivamPillai gravatar image SivamPillai  ( 2012-09-06 13:29:24 -0500 )edit
2

The stack is not getting depracated, just the tool which is moving to a pypi package. I haven't advertised that yet, because fuerte and qt_ros is in the middle of the ros catkin upgrade. Feel free to pip install that package though.

Daniel Stonier gravatar image Daniel Stonier  ( 2012-09-06 16:24:28 -0500 )edit
2

Groovy will finally see qt_ros as a catkin package sitting alongside a create script coming from that pypi roscreate package.

Daniel Stonier gravatar image Daniel Stonier  ( 2012-09-06 16:25:29 -0500 )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

2 followers

Stats

Asked: 2012-08-15 13:14:20 -0500

Seen: 646 times

Last updated: Sep 06 '12