You're reading the documentation for a development version. For the latest released version, please have a look at Galactic.
教程
教程是一组循序渐进的指导,旨在稳步构建 ROS 2 中的技能。
阅读教程的最佳方法是第一次按顺序浏览它们,因为它们是相互构建的,并不意味着是全面的文档。
关于更多具体问题的快速解决方案,请参阅 How-to Guides。
初学者
初学者:CLI 工具
初学者:客户端库
- 创建工作区
- 创建你的第一个 ROS 2 包
- 编写一个简单的发布者和订阅者(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
- Creating and Using Plugins (C++)
中级水平
- Creating an action
- Writing an action server and client (C++)
- Writing an action server and client (Python)
- Launching/monitoring multiple nodes with Launch
- Using ROS 2 launch for large projects
- Using substitutions in launch files
- Using event handlers in launch files
- Composing multiple nodes in a single process
- 使用 colcon 构建包
- Monitoring for parameter changes (C++)
- tf2 Tutorials
- URDF Tutorials
高级水平
- ROS 2 Topic Statistics Tutorial (C++)
- Using Fast DDS Discovery Server as discovery protocol [community-contributed]
- Implement a custom memory allocator
- Unlock all the potential of Fast DDS as ROS 2 middleware [community-contributed]
- Recording a bag from your own node (C++)
- Recording a bag from your own node (Python)
杂项
演示文稿
Recording and playback of topic data with rosbag using the ROS 1 bridge.
TurtleBot 3 demo using ROS 2. [community-contributed]
Navigate TurtleBot 3 in simulation. [community-contributed]
SLAM with TurtleBot3 in simulation. [community-contributed]
Use the robot state publisher to publish joint states and TF.