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

pcl17 with turtlebot

asked 2013-07-09 11:24:08 -0500

sran gravatar image


I am trying to use KinFuLS that is part of of pcl17 with turtlebot (groovy).

Because turtlebot comes with it's own package, it already seem to have pcl 1.6.0 built.

I have followed a tutorial that was written in:

I everything worked except at the last step "catkin_make_isolated --install"

I get following error: [ 75%] Building CXX object src/cpp/CMakeFiles/flann_cuda-gd.dir/flann/flann_cpp.cpp.o No such file or directory CMake Error at (message): Error generating /tmp/pcl_ws/build_isolated/flann/src/cpp/CMakeFiles/flann_cuda_s.dir/flann/algorithms/./

make[2]: * [src/cpp/CMakeFiles/flann_cuda_s.dir/flann/algorithms/./] Error 1 make[1]: [src/cpp/CMakeFiles/flann_cuda_s.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... [ 75%] Built target flann_cpp-gd Linking CXX shared library ../../lib/ [ 75%] Built target flann_cuda-gd Linking CXX static library ../../lib/libflann_s.a [ 75%] Built target flann_s make: * [all] Error 2 Traceback (most recent call last): File "/opt/ros/groovy/lib/python2.7/dist-packages/catkin/", line 658, in build_workspace_isolated number=index + 1, of=len(ordered_packages) File "/opt/ros/groovy/lib/python2.7/dist-packages/catkin/", line 456, in build_package install, jobs, force_cmake, quiet, last_env, cmake_args, make_args File "/opt/ros/groovy/lib/python2.7/dist-packages/catkin/", line 359, in build_cmake_package run_command(make_cmd, build_dir, quiet) File "/opt/ros/groovy/lib/python2.7/dist-packages/catkin/", line 186, in run_command raise subprocess.CalledProcessError(proc.returncode, ' '.join(cmd)) CalledProcessError: Command '/tmp/pcl_ws/install_isolated/ make -j4 -l4' returned non-zero exit status 2 <== Failed to process package 'flann': Command '/tmp/pcl_ws/install_isolated/ make -j4 -l4' returned non-zero exit status 2

Reproduce this error by running: ==> /tmp/pcl_ws/install_isolated/ make -j4 -l4

Command failed, exiting.

Does anyone know how to solve this issue? Also, Has anyone been successful in using KinFuLS with groovy? If you did, could you help out with installing/using KinfuLS?

Thank you so much in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-07-11 00:56:55 -0500

We use KinFuLS with groovy. You can get pcl17 with

git clone -b groovy-unstable-devel

You can find our KinFu Wrapper here: http://fsstud/svn/ros/is/kinfu/

edit flag offensive delete link more


thank you so much! I have one additional question though. Where should I put the kinfu wrapper and how can I use this package?

sran gravatar image sran  ( 2013-07-11 09:16:39 -0500 )edit

if you compile (with catkin) our wrapper you will get a ROS node. It needs the date from openni_launch and offers ROS topics (rendered model image, poses as tf messages)

MichaelKorn gravatar image MichaelKorn  ( 2013-07-12 04:10:58 -0500 )edit

Do you mean svn checkout for the KinFu wrapper? It seems like catkin_make_isolated doesn't work because home/umcha2/pcl_ws/build_isolated/kinfu/Makefile is missing, and I don't see what this makefile is for...

sran gravatar image sran  ( 2013-07-12 08:38:26 -0500 )edit

You can build this wrapper with catkin_make

MichaelKorn gravatar image MichaelKorn  ( 2013-07-14 02:36:13 -0500 )edit

so percpetion_pcl needs to be built with catkin_make_isolated while kinfu needs to be built with catkin_make. So I made separate workspace for both of them. catkin_make_isolated successfully builds percpetion_pcl but catkin_make fails in compiling kinfu. The error says:

sran gravatar image sran  ( 2013-07-16 04:36:28 -0500 )edit

CMake Error at /opt/ros/groovy/share/catkin/cmake/catkin_package.cmake:314 (message): catkin_package() include dir '/home/umcha2/catkin_ws2/devel/include' is neither an absolute directory nor exists relative to '/home/umcha2/catkin_ws2/src/kinfu'

sran gravatar image sran  ( 2013-07-16 04:38:23 -0500 )edit

It is an issue of dynamic_reconfigure. You need to modify kinfu/cfg/dyn_config.cfg.

jihoonl gravatar image jihoonl  ( 2013-07-16 18:02:42 -0500 )edit

Question Tools

1 follower


Asked: 2013-07-09 11:24:08 -0500

Seen: 419 times

Last updated: Jul 11 '13