Ask Your Question

Qt ROS Examples

asked 2015-09-29 04:17:52 -0500

newbieros gravatar image

updated 2015-10-07 03:57:19 -0500


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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-09-29 07:57:50 -0500

rastaxe gravatar image

updated 2015-10-09 04:04:37 -0500

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

edit flag offensive delete link more


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).

newbieros gravatar image newbieros  ( 2015-10-07 03:55:29 -0500 )edit

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

dornhege gravatar image dornhege  ( 2015-10-07 05:33:47 -0500 )edit

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

dornhege gravatar image dornhege  ( 2015-10-07 05:33:59 -0500 )edit

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

rastaxe gravatar image rastaxe  ( 2015-10-09 04:05:04 -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



Asked: 2015-09-29 04:17:52 -0500

Seen: 793 times

Last updated: Oct 09 '15