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

Navigating the file system in ROS2

asked 2022-09-20 09:21:00 -0500

fishy_ros gravatar image


I have ROS2 installed and am learning it. I am using Humble.

I would like to use this tutorial: However I face the following challenges:

  • installing ros-humble-ros-tutorials fails
  • rospack-tools installs, however rospack list fails to find packages I know I installed
  • roscd, rosls, etc. are also missing

However, these things seem to work in a virtual machine where I have ROS1 (noetic) isntalled.

Am I missing something obvious here in ROS2? Does ROS2 have such conveniences and where can I find / install them?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2022-09-20 21:02:21 -0500

tomarRobin gravatar image

You are using the wiki for ros 1. Please follow this link for ROS 2 documentation and all your problems should be resolved.

edit flag offensive delete link more



I would suggest to use this link instead, as that's the Humble documentation. The link you posted points to the Foxy documentation, which is a few versions older than what the OP is using.

For navigation2 specifically, I'd recommend That will not have the tutorial the OP refers to, but is the main entry point to all documentation about navigation2, which what you'd be using with ROS 2.

gvdhoorn gravatar image gvdhoorn  ( 2022-09-21 06:10:42 -0500 )edit

Thank you. I am aware of the ROS 2 documentation. I have searched and reviewed the topics there and used google search as well. I am a beginner and I keep ending up in ROS 1 documentation as I try to learn ROS - I presume because it is older and thus there are more tutorials and examples there.

Thank you to the pointer for robot navigation in ROS 2. I am looking to learn about how ROS 2 organizes its file system.

I have not found an equivalent file system navigation (organization) tutorial for ROS 2 - should I suspect, from these answers and my own research that it does not exist.

So the next question is - what are the differences between the file system organization in ROS 1 and ROS 2?

Should I assume that no convenience tools for moving around the ROS file system have been written for ROS 2 yet?

fishy_ros gravatar image fishy_ros  ( 2022-09-21 06:30:54 -0500 )edit

The ros 2 system is bit different then ros 1. this link can help you get going with the ros 2 command line interface. For the 3 points you mentioned the first one will not work because in ros 2 you have demos package instead of tutorials. Check this . For second point there are different commands to lookup and run things, check this cheat sheet for more help. For the third one i am not sure if there is something of the sort of roscd in ros 2

tomarRobin gravatar image tomarRobin  ( 2022-09-21 08:51:33 -0500 )edit

Confirming the difference to watch out for with ROS2 - thanks. This link to the list of ROS2 CLI tools is very helpful, something to watch... thanks.

fishy_ros gravatar image fishy_ros  ( 2022-09-21 09:01:04 -0500 )edit

Question Tools

1 follower


Asked: 2022-09-20 09:21:00 -0500

Seen: 318 times

Last updated: Sep 20 '22