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!
Originally posted by RichardL on ROS Answers with karma: 3 on 2019-11-01
Post score: 0