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

What is this rosdep error?

asked 2012-06-05 10:17:26 -0600

mikeS gravatar image

Trying to get the dependencies for a camera with the following command:
mike@spinach:~/ros_workspace$ rosdep install prosilica_camera

And I get the following error:
ERROR: Rosdep cannot find all required resources to answer your query
Missing resource prosilica_camera
ROS path [0]=/opt/ros/fuerte/share/ros
ROS path [1]=/home/mike/ros_workspace
ROS path [2]=/opt/ros/fuerte/share
ROS path [3]=/opt/ros/fuerte/stacks

What is wrong with my install?

I have run rosdep update.

edit retag flag offensive close merge delete

Comments

What distribution are you using? In Electric, prosilica_camera was part of camera_drivers. In Fuerte, is belongs to a separate prosilica_driver stack.

joq gravatar image joq  ( 2012-06-05 13:03:27 -0600 )edit

I'm using Fuerte

mikeS gravatar image mikeS  ( 2012-06-05 19:18:20 -0600 )edit

go to src directory, where your package reside (don't step in to your package). And try to run this command from there. It should work.

askkvn gravatar image askkvn  ( 2021-03-20 06:52:21 -0600 )edit

4 Answers

Sort by ยป oldest newest most voted
3

answered 2012-06-05 20:42:39 -0600

tfoote gravatar image

Specifically this error means that the package prosilica_camera is not in your ROS_PACKAGE_PATH.

rosdep is a tool for installing system dependencies for source packages. It does not install the source for you. You need to check that out from version control. There are tools like rosinstall which are designed to help with that. And if you're on Ubuntu usually you can use apt to install most packages, and skip compiling others code from source.

Please make sure to go through the ROS tutorials to understand the core ROS concepts.

edit flag offensive delete link more

Comments

2

Thanks. I did follow the tutorial, but I think it glances over a simple concept I have no awareness of. I entered roscd and then rosinstall prosilica_camera and received an error indicating I need to add the location of a ros distribution to this command. I'm not sure how to do this.

mikeS gravatar image mikeS  ( 2012-06-06 04:46:51 -0600 )edit

Your rosinstall link is broken.

Cerin gravatar image Cerin  ( 2016-08-22 08:34:35 -0600 )edit
askkvn gravatar image askkvn  ( 2021-03-20 06:48:29 -0600 )edit
4

answered 2016-04-15 16:07:22 -0600

jacksonkr_ gravatar image

Typically you're making this for or inside of a catkin workspace. If that's the case then you need to source the setup.

Steps:

  • $ mkdir -p some_catkin_ws/src
  • $ cd some_cakint_ws/src
  • $ catkin_init_workspace
  • $ cd ..
  • $ catkin_make
  • $ source devel/setup.bash
  • add your prosilica_camera source to some_catkin_ws/src
  • $ rosdep install prosilica_camera
edit flag offensive delete link more
0

answered 2013-02-05 09:41:10 -0600

nehchal gravatar image

If path of prosilica_camera is "/home/mike/ros_workspace/.../stacks/prosilica_camera", Add the complete path into ROS_PACKAGE_PATH. Adding "/home/mike/ros_workspace/.../stacks" won't work.

Alternatively, if you have used rosinstall to install prosilica_camera, the there would be setup.bash in the folder where you stored rosinstall.txt . cd to that folder and user "$source setup.bash".

edit flag offensive delete link more
0

answered 2012-06-05 13:35:45 -0600

joq gravatar image

If you are building prosilica_camera from source, you probably need to check out and build the entire prosilica_driver stack.

edit flag offensive delete link more

Comments

I'm a noob and figured as much, but I can't find a resource that explains how to add sources. Any direction would be greatly appreciated.

mikeS gravatar image mikeS  ( 2012-06-05 19:21:03 -0600 )edit

Question Tools

Stats

Asked: 2012-06-05 10:17:26 -0600

Seen: 24,521 times

Last updated: Apr 15 '16