Robotics StackExchange | Archived questions

Qt ROS Examples

Hello,

My doubt is, If I want to write a ros node using qt GUI- Is it necessary to follow rqt plugin cpp tutorial(I mean is it necessary to create a plugin) or is it possible to write a node and add cmakelist.txt as here. A small example to which opens a qt window is very helpful. Many thanks in advance.

Asked by newbieros on 2015-09-29 04:17:52 UTC

Comments

Answers

I use catkin_create_qt_pkg from qt_build. Then I just open the CMakeList.txt with QtCreator. Look here.

Asked by rastaxe on 2015-09-29 07:57:50 UTC

Comments

Thanks for your response. As mentioned here I tried to open cmakelist.txt, but it says Cannot create file /opt/ros/jade/share//catkin/cmake/toplevel.cmake.user:Permission denied. Actually I am working with ros indigo(here it shows jade).

Asked by newbieros on 2015-10-07 03:55:29 UTC

Just to clarify: Yes, it is possible to run ROS + Qt without rqt.

Asked by dornhege on 2015-10-07 05:33:47 UTC

The error that you have there seems unrelated to ROS + Qt.

Asked by dornhege on 2015-10-07 05:33:59 UTC

It seems that your problem is already solved in the documentation at the link I provided: "Recently this has started to fail...

Asked by rastaxe on 2015-10-09 04:05:04 UTC