March 2018
Intermediate to advanced
1396 pages
42h 14m
English
As explained before, ROS provides a number of command-line tools for navigating through the filesystem. In this subsection, we will explain the most used ones, with examples.
To get information about the packages and stacks in our environment, such as their paths, dependencies, and so on, we can use rospack and rosstack. On the other hand, to move through packages and stacks, as well as listing their contents, we will use roscd and rosls.
For example, if you want to find the path of the turtlesim package, you can use the following command:
$ rospack find turtlesim
Which will then result in the following output:
/opt/ros/kinetic/share/turtlesim
The same thing happens with the metapackages that you ...