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

Qt ROS Examples

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

newbieros gravatar image

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

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

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

rastaxe gravatar image

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

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

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

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

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

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

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

dornhege gravatar image dornhege  ( 2015-10-07 05:33:59 -0600 )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 -0600 )edit

Question Tools

2 followers

Stats

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

Seen: 1,013 times

Last updated: Oct 09 '15