First, preparatory work
Using the Ros0tutorials package, download it first:
sudo apt-get Install Ros-<distro>-ros-tutorials
Where <distro> should be replaced by the corresponding version of Ros:Jade,Indigo,Hydro,Groovy,Fuerte,Kinetic
Ii. Document System Concept:
Iii. File System Tools
1. Rospack = Ros + Package
(1) Find syntax:
Rospack Find [Package name]
(2) Function:
The find parameter option in Rospack that returns the path information for the package.
2. ROSCD = Ros + CD
(1) Syntax:
ROSCD [Local package name [/subdirectory]]
(2) Function:
A, ROSCD is part of the rosbash command set, which allows you to switch (CD) working directory directly into a package or package set.
B, you can switch to a sub-directory of a package or package set
3. ROSCD Log
(1) Syntax:
ROSCD Log
(2) Function:
Use ROSCD log to switch to the ROS save Journal file directory. It should be noted that if you have not performed any ROS programs, the system will say that the directory does not exist.
4. Rosls = Ros + ls
(1) Syntax:
ROSLS [Local package name [/subdirectory]]
(2) Function:
Rosls is part of the rosbash command set, which allows you to execute the ls command (listing directories) directly by the name of the package instead of the absolute path.
5. tab Auto-Complete input
Press TAB to complete the auto-completion.
Ros Learning (iii)--ros file system