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

rosdep install showing independency/not available

asked 2021-04-06 04:54:27 -0600

anonymous user

Anonymous

hi, i got error after running rosdep install

asus@asus-X556UQK:~/catkin_ws$ rosdep install --from-paths /home/asus/catkin_ws/src --ignore-src
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
amcl: [python3-pykdl] defined as "not available" for OS version [xenial]

how to fix this?

edit retag flag offensive close merge delete

Comments

1

Just to make sure: do you need to build AMCL from source?

On Kinetic, it's available as a Deb package and sudo apt install ros-kinetic-amcl should install it.

gvdhoorn gravatar image gvdhoorn  ( 2021-04-06 06:16:43 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-04-06 06:16:08 -0600

gvdhoorn gravatar image

Are you trying to build the noetic-devel version on Ubuntu Xenial/ROS Kinetic?

This is the dependency declaration in noetic-devel (from here):

<test_depend>python3-pykdl</test_depend>

The kinetic-devel version doesn't have this dependency.

If you want to build amcl from source on Xenial, you probably want to build the Kinetic version.

Alternatively: you'll have to update the dependency list to be Kinetic/Xenial compatible.

edit flag offensive delete link more

Comments

1

Basically, what he said :-) (Posted as an answer but was late...)

python3-pykdl is not available on xenial.

Note that for xenial and thus ROS kinetic (I'm assuming your using that, you haven't specified this anywhere), the default python version is Python2.7. You should make sure to only use packages that rely on Python 2. Otherwise you might run into a lot of errors.

My guess is you downloaded the amcl source code from the noetic-devel branch. You should probably go back to the kinetic-devel branch. (You could obviously comment the dependency, as it is a test dependency only. It might work then, or it might not. Who knows....)

In the long run, you should probably upgrade from xenial/kinetic to something else (I'd suggest focal/noetic), as kinetic is EOL end of the month and won't receive any updates and fixes anyways...

mgruhler gravatar image mgruhler  ( 2021-04-06 06:19:27 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2021-04-06 04:54:27 -0600

Seen: 284 times

Last updated: Apr 06 '21