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

RichardL's profile - activity

2021-07-12 07:55:25 -0500 received badge  Notable Question (source)
2021-07-12 07:55:25 -0500 received badge  Famous Question (source)
2019-11-10 17:30:43 -0500 commented answer Can't rosdep install uvc_camera, missing rosdep definition for sensor_msgs

Simple as that; works fine now. Thanks so much! And yes I'll take note of the caution at the end of your reply....

2019-11-10 17:23:12 -0500 marked best answer Can't rosdep install uvc_camera, missing rosdep definition for sensor_msgs

Hi,

Completely new to ROS. I am using indigo on Ubuntu 14.04. I am following a recipe of steps that a colleague has followed before.

Have done a new install of ROS according to the install instructions on the ROS website: I used

sudo apt-get install ros-indigo-desktop-full

Later steps in the recipe involved using catkin to install other components. The catkin workspace is in ~/catkin/src. After setting up the workspace, and installing a few other components with catkin, I ran the following

cd ~/catkin/src
git clone https://github.com/ktossell/camera_umd.git
rosdep install camera_umd

Which worked fine. But then when I tried to execute

rosdep install uvc_camera

the following error message was produced:

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

I checked the output of rosdep db and sure enough, sensor_msgs is not in there, so rosdep doesn't know about it. To me that suggests that either (a) sensor_msgs is installed, but for some reason, rosdep doesn't know this, or (b) sensor_msgs isn't installed, in which case I can hardly expect that rosdep would know about it. But I don't know how to find out which of these is the case, let alone why it happened.

Some people have mentioned rospack find sensor_msgs to find installed packages. This does return the location of a folder for sensor_msgs. But all it has inside it are package.xml and cmake files and the like; for rospack to find this folder doesn't seem to prove that the software has actually been installed? or am I wrong? I don't understand this well enough.

Some posts out there suggest running the "magic" command

rosdep install --from-paths src --ignore-src -r --rosdistro=indigo

to install all dependencies required by packages in the catkin/src folder. This simply returned the message

#All required rosdeps installed successfully

And when running the rosdep install command, I got the same result as before.

To anticipate other common questions, yes I did run source /opt/ros/indigo/setup.bash and also did the same for the catkin setup.bash, and i added them to my .bashrc for good measure. And yes I also ran sudo rosdep init followed by rosdep update.

Any suggestions on how I can get around this issue would be much appreciated!

2019-11-10 17:23:12 -0500 received badge  Scholar (source)
2019-11-06 23:32:30 -0500 received badge  Popular Question (source)
2019-11-01 02:05:05 -0500 asked a question Can't rosdep install uvc_camera, missing rosdep definition for sensor_msgs

Can't rosdep install uvc_camera, missing rosdep definition for sensor_msgs Hi, Completely new to ROS. I am using indigo