Ask Your Question
0

Catkin and Qt_ros. How to build

asked 2013-03-05 15:46:16 -0600

phbou72 gravatar image

updated 2014-01-28 17:15:32 -0600

ngrennan gravatar image

Hi,

I'm a bit lost with the integration of Qt with ROS. I have to make a few custom interfaces for my university project (a nifty robot that do cool stuff) and I was thinking about using Qt to make them since we already have a lot of experience with Qt C++ in my team.

The problem is, my workspace is using catkin and the package qt_ros (with the node roscreate-qt-pkg) seems to create files that are made for rosbuilder. By example, it create a manifest.xml (wich I think is deprecated in groovy) and the CMakeLists.txt is really different from the ones I get from catkin-package. So, my node is not built at all when I execute catkin_make. How am I suppose to do it?

I really like ROS and all his tools, but if I can't create my interfaces quickly we will have to switch to another technology or think about an alternative to talk to ROS from another application that contains our interface : (.

edit retag flag offensive close merge delete

Comments

Do I have to make this : "Simply make in place (native compile) or use rosbuild2 to cross-compile with mingw"?!

phbou72 gravatar imagephbou72 ( 2013-03-05 15:54:09 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-03-05 18:58:45 -0600

130s gravatar image

updated 2013-03-06 07:36:17 -0600

In Groovy, most of the building tools used in previous distributions are still valid. So you can build your stuff that you have been able to build with catkin, and also build the packages that you made with qt_ros, and run them. Upon runtime, build system used should not matter afaik so that you can mix them.

Wiki pages of qt_ros neither specifies that they don't work on Groovy nor buildsystem to be used. Considering that it worked pretty well for me with rosbuild on fuerte, I recommend to use it first with rosbuild (run rosmake).

edit flag offensive delete link more

Comments

What is better : reconfigure my catkin workspace to only use rosbuild instead or try to mix the both of them? I need to reuse code and messages I have in my catkin workspace since my nodes will eventually speak together.

phbou72 gravatar imagephbou72 ( 2013-03-06 04:42:10 -0600 )edit

I updated my answer since it wasn't clear, but yes mixing them shouldn't be a problem afaik.

130s gravatar image130s ( 2013-03-06 07:37:16 -0600 )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

1 follower

Stats

Asked: 2013-03-05 15:46:16 -0600

Seen: 767 times

Last updated: Mar 06 '13