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

kinect_tools compilation problem

asked 2011-05-25 06:46:34 -0500

Giovanni Saponaro gravatar image

updated 2016-10-24 08:59:16 -0500

ngrennan gravatar image

Hello,

I'm trying to

rosmake kinect_tools --rosdep-install

and I get the following error:

[ rosmake ] Packages requested are: ['kinect_tools']                                                                                                                                                                        
[ rosmake ] Logging to directory/home/gsaponaro/.ros/rosmake/rosmake_output-20110525-194202                                                                                                                                 
[ rosmake ] Expanded args ['kinect_tools'] to:
['kinect_tools']                                                                                                                                                             
[ rosmake ] Generating Install Script using rosdep then executing. This may take a minute, you will be prompted for permissions. . .                                                                                        
Failed to find stack for package [eigen3]
Failed to load rosdep.yaml for package [eigen3]:Cannot locate installation of package eigen3: [rospack] couldn't find package [eigen3]. ROS_ROOT[/opt/ros/diamondback/ros] ROS_PACKAGE_PATH[/home/gsaponaro/kinect/ros:/opt/ros/diamondback/stacks]
rosdep executing this script:
{{{
set -o errexit
#No Packages to install
}}}
[ rosmake ] rosdep successfully installed all system dependencies                                                                                                                                                           
[rosmake-0] Starting >>> kinect_tools [ make ]                                                                                                                                                                              
[ rosmake ] All 22 linesinect_tools: 0.1 sec ]                                                                                                                                                     [ 1 Active 0/1 Complete ]
{-------------------------------------------------------------------------------
  mkdir -p bin
  cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake  ..
  [rosbuild] Building package kinect_tools
  Failed to invoke /opt/ros/diamondback/ros/bin/rospack deps-manifests kinect_tools
  [rospack] couldn't find dependency [eigen3] of [kinect_tools]
  [rospack] missing dependency


  CMake Error at /opt/ros/diamondback/ros/core/rosbuild/public.cmake:113 (message):


    Failed to invoke rospack to get compile flags for package 'kinect_tools'.
    Look above for errors from rospack itself.  Aborting.  Please fix the
    broken dependency!

  Call Stack (most recent call first):
    /opt/ros/diamondback/ros/core/rosbuild/public.cmake:183 (rosbuild_invoke_rospack)
    CMakeLists.txt:12 (rosbuild_init)

So, having read here that in DiamondBack we should use eigen instead of eigen3, I removed the 3 from manifest.xml, and I still get errors:

[rosmake-0] Starting >>> kinect_tools [ make ]
[ rosmake ] Last 40 linesnect_tools: 6.4 sec [ 1 Active 53/54 Complete ]
{-------------------------------------------------------------------------------
  /home/gsaponaro/kinect/ros/kinect_demos/mit-ros-pkg-experimental/kinect_tools/src/analyze_hands.cpp: In member function ‘void HandProcessor::segFingers(double, int)’:
  /home/gsaponaro/kinect/ros/kinect_demos/mit-ros-pkg-experimental/kinect_tools/src/analyze_hands.cpp:267: error: ‘centroid’ was not declared in this scope
  /home/gsaponaro/kinect/ros/kinect_demos/mit-ros-pkg-experimental/kinect_tools/src/analyze_hands.cpp:283: error: ‘class Finger’ has no member named ‘centroid’
  /home/gsaponaro/kinect/ros/kinect_demos/mit-ros-pkg-experimental/kinect_tools/src/analyze_hands.cpp:283: error: ‘arm’ was not declared in this scope
  /home/gsaponaro/kinect/ros/kinect_demos/mit-ros-pkg-experimental/kinect_tools/src/analyze_hands.cpp:283: error: ‘class Finger’ has no member named ‘centroid’
  /home/gsaponaro/kinect/ros/kinect_demos/mit-ros-pkg-experimental/kinect_tools/src/analyze_hands.cpp:299: error: ‘class Finger’ has no member named ‘centroid’
  /home/gsaponaro/kinect/ros/kinect_demos/mit-ros-pkg-experimental/kinect_tools/src/analyze_hands.cpp: In member function ‘void HandProcessor::identfyFingers()’:
  /home/gsaponaro/kinect/ros/kinect_demos/mit-ros-pkg-experimental/kinect_tools/src/analyze_hands.cpp:313: error: ‘class Finger’ has no member named ‘centroid’
  /home/gsaponaro/kinect/ros/kinect_demos/mit-ros-pkg-experimental/kinect_tools/src/analyze_hands.cpp:313: error: ‘class Finger’ has no member named ‘centroid’
  /home/gsaponaro/kinect/ros/kinect_demos/mit-ros-pkg-experimental/kinect_tools/src/analyze_hands.cpp:314: error: ‘class Finger’ has no member named ‘centroid’
  /home/gsaponaro/kinect/ros/kinect_demos/mit-ros-pkg-experimental/kinect_tools/src/analyze_hands.cpp:314: error: ‘class Finger’ has no member named ‘centroid’
  /home/gsaponaro/kinect/ros/kinect_demos/mit-ros-pkg-experimental/kinect_tools/src/analyze_hands.cpp: In member function ‘void HandAnalyzer::getEigens(const kinect_tools::Hand&)’:
  /home/gsaponaro/kinect/ros/kinect_demos/mit-ros-pkg-experimental/kinect_tools/src/analyze_hands.cpp ...
(more)
edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
1

answered 2011-06-23 07:44:19 -0500

Kinect_tools is obsolete. If you want the hand tracking library, you should check out hand_interaction, as referred to by www.ros.org/wiki/mit-ros-pkg/KinectDemos

edit flag offensive delete link more

Comments

Fair enough, thanks.
Giovanni Saponaro gravatar image Giovanni Saponaro  ( 2011-06-27 03:08:36 -0500 )edit
0

answered 2011-06-17 11:49:10 -0500

Straszheim gravatar image

There is an eigen3 package that is distinct from eigen... different code.

edit flag offensive delete link more

Comments

In that case, I'll leave eigen3 as it is inside manifest.xml. But I can still not compile kinect_tools, and my ROS is up-to-date (updated regularly with Ubuntu 10.04 packages). Any suggestion?
Giovanni Saponaro gravatar image Giovanni Saponaro  ( 2011-06-20 02:31:37 -0500 )edit

Question Tools

Stats

Asked: 2011-05-25 06:46:34 -0500

Seen: 560 times

Last updated: Jun 23 '11