Integrating Qt UI into ROS

asked 2017-03-26 07:26:52 -0500

persuasiv gravatar image


ENV: ROS Indigo under Ubuntu 14.04

I just followed the ROS tutorials and I have created my beginner_tutorials package using rosbuild method, not catkin. What I want to do now, is to create a new ROS node to publish something on a topic. But, behind this node, I want to add an user interface; in other words, user send informations to a topic via a UI. The problem is integrating Qt UI into all this business.

I don't know why, but all the tutorials explain how to do this using catkin, but my workspace is under rosbuild.

When finally found some help here: I realized that roscreate-qt-pkg is missing. The following command:

rosrun qt_create roscreate-qt-pkg _pkg-name_


[rosrun] Couldn't find executable named roscreate-qt-pkg below /opt/ros/indigo/share/qt_create

I was also able to open CMaleLists.txt via QT Creator and it seems to work! I mean i can edit sources but I'm unable to add Qt code to my ROS project.

Any hint?

edit retag flag offensive close merge delete


I have developed GUI to control drone using PyQT and ROS. You can find it on this link

pavankumarbn gravatar image pavankumarbn  ( 2017-10-24 21:52:26 -0500 )edit

Is there any particular reason to use old rosbuild over catkin (which most of the ROS community uses)?

l4ncelot gravatar image l4ncelot  ( 2017-10-25 01:13:16 -0500 )edit

Please explain why you are "unable at add Qt code to my ROS project"? Do you get errors what are you trying to do? There are a lot of projects using Qt GUIs with ROS including all the core gui tools such as the rqt suite.

tfoote gravatar image tfoote  ( 2018-12-16 23:46:41 -0500 )edit