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

ROS+Qt question

asked 2012-09-30 07:56:04 -0600

sen gravatar image

updated 2014-04-20 14:09:44 -0600

ngrennan gravatar image

Hello,

I want to develop an application in Qt that can run nodes in ROS. I know one can run the CMakeList.txt of the package in Qt as per the necessary changes shown in http://answers.ros.org/question/12790/ros-qt-creator-gui/.

I already have a developed application that has the normal .pro files. The application has loads of other algorithm codes in it and I intend to integrate this application with some Qt code to run ROS nodes. But I can not understand how to do so, as the ROS package can be run using the CMakeList.txt. I may not have enough expertise on ROS+Qt, so any help will be highly appreciated.

Thanks, Sen

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-10-01 04:13:24 -0600

dornhege gravatar image

Although in theory it is possible to build ROS with qmake/.pro files, I'd still recommend cmake/rosbuild. This means you will need to port your .pro files to cmake.

If this is too much work, you can build the majority of your code and algorithms using qmake into libraries (without any ROS dependencies) and then only provide a ROS interface wrapper that integrates ROS via cmake and just links your libraries.

edit flag offensive delete link more

Comments

Thanks Dornhege. I like your suggestions and I intend to follow the second suggestion. I will let you know how it turns out.

sen gravatar image sen  ( 2012-10-02 11:27:13 -0600 )edit

Question Tools

Stats

Asked: 2012-09-30 07:56:04 -0600

Seen: 770 times

Last updated: Oct 01 '12