Ros Learning (iii)--ros file system

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.