Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tf2_kdl: Cannot locate rosdep definition for [orocos_kdl] #1310

Closed
samuk opened this issue Aug 5, 2022 · 3 comments
Closed

tf2_kdl: Cannot locate rosdep definition for [orocos_kdl] #1310

samuk opened this issue Aug 5, 2022 · 3 comments

Comments

@samuk
Copy link

samuk commented Aug 5, 2022

Bug report

Required Info:

Steps to reproduce issue

Install Humble/ 22:04 https://github.com/linorobot/ros2me
Follow instructions here: https://github.com/Agroecology-Lab/visual-multi-crop-row-navigation/tree/ROS2#dependencies

Expected behavior

Rosdep finds dependencies

Actual behavior

ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
tf2_kdl: Cannot locate rosdep definition for [orocos_kdl]
tf2_geometry_msgs: Cannot locate rosdep definition for [orocos_kdl]
tf2_eigen_kdl: Cannot locate rosdep definition for [orocos_kdl]

@clalancette
Copy link
Contributor

I don't know what a ros2me installation is, but this is correct behavior for Humble. We removed orocos_kdl in favor of orocos_kdl_vendor. That means that orocos_kdl is no longer released in Humble. My guess is that your source code is out of date (you need to be on the humble branch), but I'm not sure.

@samuk
Copy link
Author

samuk commented Aug 5, 2022

ROS2Me is just this script that installs ROS2: https://raw.githubusercontent.com/linorobot/ros2me/master/install

How should I use orocos_kdl_vendor in Humble please? Below some info from my system.

I found this https://github.com/ros2/orocos_kdl_vendor/tree/humble but I'm unclear how to use it?

ubuntu@ubuntu:~$ rosdep update
reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml
Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml
Skip end-of-life distro "ardent"
Skip end-of-life distro "bouncy"
Skip end-of-life distro "crystal"
Skip end-of-life distro "dashing"
Skip end-of-life distro "eloquent"
Add distro "foxy"
Add distro "galactic"
Skip end-of-life distro "groovy"
Add distro "humble"
Skip end-of-life distro "hydro"
Skip end-of-life distro "indigo"
Skip end-of-life distro "jade"
Skip end-of-life distro "kinetic"
Skip end-of-life distro "lunar"
Add distro "melodic"
Add distro "noetic"
Add distro "rolling"
updated cache in /home/ubuntu/.ros/rosdep/sources.cache

ubuntu@ubuntu:$ sudo apt-get update
Hit:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
Hit:5 https://apt.foxglove.dev/studio stable InRelease
Hit:6 http://packages.ros.org/ros2/ubuntu jammy InRelease
Reading package lists... Done
ubuntu@ubuntu:
$ sudo apt-get install ros-humble-geometry2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ros-humble-geometry2 is already the newest version (0.25.0-2jammy.20220620.232300).
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.

sudo apt-get install ros-humble-orocos-kdl-vendor
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ros-humble-orocos-kdl-vendor is already the newest version (0.2.3-1jammy.20220610.220854).

ubuntu@ubuntu:~$ rosdep resolve tf2_kdl tf2_geometry_msgs tf2_eigen_kdl
#ROSDEP[tf2_kdl]
#apt
ros-humble-tf2-kdl
#ROSDEP[tf2_geometry_msgs]
#apt
ros-humble-tf2-geometry-msgs
#ROSDEP[tf2_eigen_kdl]
#apt
ros-humble-tf2-eigen-kdl

sudo apt-get install ros-humble-tf2-geometry-msgs ros-humble-tf2-eigen-kdl ros-humble-tf2-kdl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ros-humble-tf2-eigen-kdl is already the newest version (0.25.0-2jammy.20220610.221339).
ros-humble-tf2-eigen-kdl set to manually installed.
ros-humble-tf2-geometry-msgs is already the newest version (0.25.0-2jammy.20220620.205117).
ros-humble-tf2-kdl is already the newest version (0.25.0-2jammy.20220620.213756).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

@ijnek
Copy link

ijnek commented Aug 9, 2022

I feel that this is now becoming more suited for a post on ROS Answers, but I think the issue you're facing is from the instructions of compiling tf2_geometry_msgs from source as instructed in https://github.com/Agroecology-Lab/visual-multi-crop-row-navigation/tree/ROS2#dependencies

You should be able to just skip the following lines from the instructions there:

git clone https://github.com/ros2/geometry2.git
cd geometry2
git fetch origin pull/533/head:pr-533
git checkout pr-533

and things should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants