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

How do you find rosdep definition location?

asked 2020-04-22 04:27:06 -0500

marcp17 gravatar image

When running:

rosdep install --from-paths src --ignore-src -y

The outout is:

ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies:  spin_database: Cannot locate rosdep definition for [lamp]

My understanding from reading this (https://answers.ros.org/question/320734/cannot-locate-rosdep-definition/) is that rosdep looked for a package that is named lamp.

The node spin_database is a node that I have created, but I am not aware of where rosdep is looking for this definition.

Where can I find the location of these dependencies?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-04-22 04:31:35 -0500

gvdhoorn gravatar image

updated 2020-04-22 04:33:26 -0500

The rosdep DB is here: ros/rosdistro/rosdep, in most cases you'll want to look at base.yaml.

My understanding from reading this (https://answers.ros.org/question/3207...) is that rosdep looked for a package that is named lamp.

No, not quite. rosdep tries to lookup the key lamp in the database. Note the difference: a key has to be resolved to a package name. It's not a package name itself, unless it's the name of a ROS package. But then you would most likely get a different error.

edit flag offensive delete link more

Comments

Ahh ok, I see. Do you know where and why it is looking for the key "lamp"?

marcp17 gravatar image marcp17  ( 2020-04-22 04:44:53 -0500 )edit

Most likely because you've listed it as a build or exec depend in your package.xml, or it's listed in one of the other packages in the workspace.

gvdhoorn gravatar image gvdhoorn  ( 2020-04-22 04:57:26 -0500 )edit

It is, thank you!

marcp17 gravatar image marcp17  ( 2020-04-22 05:01:39 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-04-22 04:27:06 -0500

Seen: 546 times

Last updated: Apr 22 '20