Ask Your Question
1

Resource not found: KDL

asked 2017-05-24 04:31:51 -0500

adr_arroyo gravatar image

updated 2017-05-24 04:52:59 -0500

gvdhoorn gravatar image

Hello, I am trying to launch the camera_pose_calibration as in this tutorial since I want to do en extrinsic calibration of my cameras as the rgb and depth images are not well syncronized. So in any point when I try to launch the node I keep getting this error:

Traceback (most recent call last):

File "/home/rb1base/catkin_ws/src/camera_pose_calibration/src/camera_pose_calibration/start_cb_detector_action_old.py", line 3, in <module>
    import roslib; roslib.load_manifest('camera_pose_calibration')
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslib/launcher.py", line 62, in load_manifest
    sys.path = _generate_python_path(package_name, _rospack) + sys.path
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslib/launcher.py", line 98, in _generate_python_path
    packages = get_depends(pkg, rospack) 
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslib/launcher.py", line 51, in get_depends
    vals = rospack.get_depends(package, implicit=True)
  File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 237, in get_depends
    s.update(self.get_depends(p, implicit))
  File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 231, in get_depends
    names = [p.name for p in self.get_manifest(name).depends]
  File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 164, in get_manifest
    return self._load_manifest(name)
  File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 208, in _load_manifest
    retval = self._manifests[name] = parse_manifest_file(self.get_path(name), self._manifest_name, rospack=self)
  File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 200, in get_path
    raise ResourceNotFound(name, ros_paths=self._ros_paths)
rospkg.common.ResourceNotFound: kdl
ROS path [0]=/opt/ros/indigo/share/ros
ROS path [1]=/home/rb1base/catkin_ws
ROS path [2]=/home/rb1base/catkin_ws/src
ROS path [3]=/opt/ros/indigo/share
ROS path [4]=/opt/ros/indigo/stacks

I have already installed several packages that contain that "kdl", what am i missing to do?

Cheers

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2018-06-19 21:26:22 -0500

The package is outdated and was only supported up through Groovy. It seems the main trouble is that KDL was named differently for Groovy and prior and is now orocos_kdl.

Fortunately for you, @jbohren made a fork and updated it to Hydro and Catkin. I had to make some additional changes to get it to build in Kinetic on Ubuntu 16.04, I believe my changes should also be good for Indigo. You can try my fork here. Since you're on Indigo you need at least these dependencies:

sudo apt install ros-indigo-calibration ros-indigo-orocos-kdl

Obviously if this is kinetic, swap in kinetic for indigo. Make sure you source your workspace's devel/setup.bash before trying to run anything. Hopefully that gets you a little further. I only went as far as getting it to build and do a basic launch but didn't test any of the package functionality.

edit flag offensive delete link more
0

answered 2018-06-25 12:58:11 -0500

130s gravatar image

tl;dr The ResourceNotFound error is probably ignorable in this particular case.

I'm skeptical that the OP hitting a dependency not found issue is because the packages s/he tried to use depend on kdl (or the one with newer name). I scanned openni2_launch and camera_pose_calibration but no find.

$ ack-grep -A 1 -B 1 -i kdl .
$ git remote -vv
origin  git@github.com:delftrobotics/camera_pose_calibration (fetch)
origin  git@github.com:delftrobotics/camera_pose_calibration (push)
$ git log -1
commit 15fc17eeabf693dea29237e888c1a8496fba517b
Author: rmensing <r.ensing@fizyr.com>
Date:   Thu Nov 23 18:18:33 2017 +0100

    Update readme

$ cd ~/ros-drivers/openni_camera/
$ ack-grep -A 1 -B 1 -i kdl .
$ git log -1
commit 16bbbf82f48f7a72f83d2ac2286383cf006f8aca
Author: Isaac I.Y. Saito <130s@2000.jukuin.keio.ac.jp>
Date:   Sat Jan 13 18:24:20 2018 -0800

    1.11.0

This root cause might be irrelevant to the task, and it's in rospkg package. I filed a ticket (which also has a pull request opened for).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2017-05-24 04:31:51 -0500

Seen: 620 times

Last updated: Jun 25 '18