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

phbou72's profile - activity

2018-11-17 14:52:20 -0500 received badge  Great Question (source)
2017-04-12 03:00:22 -0500 received badge  Good Question (source)
2016-04-18 10:56:02 -0500 received badge  Nice Question (source)
2016-02-23 05:27:21 -0500 received badge  Student (source)
2015-01-07 10:32:22 -0500 received badge  Enlightened (source)
2015-01-07 10:32:22 -0500 received badge  Good Answer (source)
2014-01-28 17:29:32 -0500 marked best answer Catkin and Qt_ros. How to build

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 : (.

2014-01-28 17:29:29 -0500 marked best answer Catkin_make generate services .h after building c++ code file?

Hi, I have a problem with catkin_make that stop me from building my project. He seems to compile my c++ file before generating my message and service.

####
#### Running command: "make -j1 -l1" in "/home/philippe/design3/app/build"
####
Scanning dependencies of target Kinocto
[  7%] Building CXX object kinocto/CMakeFiles/Kinocto.dir/src/Kinocto.cpp.o
In file included from /home/philippe/design3/app/src/kinocto/src/Kinocto.cpp:1:0:
**/home/philippe/design3/app/src/kinocto/include/Kinocto.h:10:34: fatal error: kinocto/StartKinocto.h: No such file or directory**
compilation terminated.
make[2]: *** [kinocto/CMakeFiles/Kinocto.dir/src/Kinocto.cpp.o] Error 1
make[1]: *** [kinocto/CMakeFiles/Kinocto.dir/all] Error 2

In bold, wecan see that he can't find my service StartKinocto.h that doesnt exist because it havent been generated first... If I comment the code that use this service the service file is generated after Kinocto.cpp :

#### Running command: "make -j1 -l1" in "/home/philippe/design3/app/build"
####
Scanning dependencies of target Kinocto
[  7%] Building CXX object kinocto/CMakeFiles/Kinocto.dir/src/Kinocto.cpp.o
Linking CXX executable /home/philippe/design3/app/devel/lib/kinocto/Kinocto
[  7%] Built target Kinocto
Scanning dependencies of target kinocto_gencpp
[ 15%] Generating C++ code from kinocto/Num.msg
[ 23%] Generating C++ code from kinocto/AddTwoInts.srv
**[ 30%] Generating C++ code from kinocto/StartKinocto.srv**
[ 30%] Built target kinocto_gencpp
Scanning dependencies of target kinocto_genlisp
[ 38%] Generating Lisp code from kinocto/Num.msg
[ 46%] Generating Lisp code from kinocto/AddTwoInts.srv
**[ 53%] Generating Lisp code from kinocto/StartKinocto.srv**

Is that normal? What should I do?

2013-09-30 07:05:42 -0500 received badge  Famous Question (source)
2013-07-31 11:31:20 -0500 received badge  Notable Question (source)
2013-06-14 01:49:26 -0500 received badge  Famous Question (source)
2013-04-18 12:31:53 -0500 marked best answer Problem with catkin_make

One of my teamates can't compile our school project. The catkin_make command give this error :

ImportError: "from catkin_pkg.topological_order import topological_order" failed: No module named catkin_pkg.packages
Make sure that you have installed "catkin_pkg", it is up to date and on the PYTHONPATH.

We compared our PYTHONPATH and we have the same :

/opt/ros/groovy/lib/python2.7/dist-packages

We tried to reinstall ROS completely, but it doesn't work even after that.

Any suggestion to fix this?