警告
您正在閱讀已達到生命週期結束(end-of-life,EOL)版本的 ROS 2 文件,該版本不再正式受支援。如果您想獲取最新資訊,請參見 Kilted。
教學
Beginner
The beginner-level tutorials are a collection of step-by-step instructions meant to introduce newcomers to ROS 2. It starts with using the Commandline Interface (CLI) tools, then moves on to the C++ and Python client libraries. Please walk through the tutorials for the first time in order, they build off of each other and are not meant to be comprehensive documentation.
Beginner: CLI Tools
Beginner: Client Libraries
- Creating a workspace
- Creating your first ROS 2 package
- Writing a simple publisher and subscriber (C++)
- Writing a simple publisher and subscriber (Python)
- Writing a simple service and client (C++)
- Writing a simple service and client (Python)
- Creating custom ROS 2 msg and srv files
- Expanding on ROS 2 interfaces
- Using parameters in a class (C++)
- Using parameters in a class (Python)
- Getting started with ros2doctor