Rosdep install not locating definitions [rostime] [catkin] [rospy]
I'm following this tutorial: https://docs.ros.org/en/foxy/Tutorial...
When I run rosdep install -i --from-path src --rosdistro foxy -y, I get the following output:
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
rospy_tutorials: Cannot locate rosdep definition for [rospy]
roscpp_tutorials: Cannot locate rosdep definition for [rostime]
ros_tutorials: Cannot locate rosdep definition for [catkin]
turtlesim: Cannot locate rosdep definition for [rostime]
My understanding is that rosdep looks for package names and keys. If I apt search rostime, for example, I get librostime0d as output. I have tried modifying package.xml with the search results.
I have tried looking through rosdep's base.yaml as this question suggests: https://answers.ros.org/question/3501... but my rosdep isn't located at ros/foxy/rosdep, it's located inside /usr/lib/python3/dist-packages/rosdep2 and that folder doesn't contain a base.yaml file.
When searching for the packages using dpkg -S I am able to find them.
Where can I modify rosdep's definitions if not ros/foxy/rosdep/base.yaml or how can I otherwise instruct rosdep to locate the definitions?
The question is somewhat confusing.
You tagged it
ros2
andfoxy
, mention the ROS 2 Foxy installation tutorial, but therosdep
output mentions ROS 1 packages exclusively. None of those packages are used with ROS 2 Foxy.Did something go wrong setting up your workspace?
I would refrain from editing all sorts of files until you've cleared that up.
I assume they cloned the wrong branch of https://github.com/ros/ros_tutorials. The command to clone the branch for Foxy (as written in the tutorial) is:
git clone https://github.com/ros/ros_tutorials.git -b foxy-devel