教程
本教程包含一系列循序渐进的指导,旨在逐步掌握 ROS 2 。
首次学习此教程的最佳方式是按顺序浏览,因为他们的内容是相互依赖的,而不是一个全面的文档。
对于更具体问题的快速解决方案,请参阅 应用指南。
- 初级: 命令行交互工具
- 初级: 客户端库
- 使用
colcon
构建包 - 创建工作空间
- 创建 ROS 2 包
- 实现发布者和订阅者(publisher & subscriber)(C++)
- 实现发布者和订阅者(publisher & subscriber) (Python)
- 实现服务与客户端(Service and Client)(C++)
- 实现服务与客户端(Service and Client)(Python)
- 创建自定义的 msg 和 srv
- 实现自定义接口(interfaces)
- 在类中使用参数 (C++)
- 在类中使用参数 (Python)
- Using
ros2doctor
to identify issues - Creating and using plugins (C++)
- 使用
- 中级教程
- 高级教程
- Enabling topic statistics (C++)
- Using Fast DDS Discovery Server as discovery protocol [community-contributed]
- Implementing a custom memory allocator
- Ament Lint CLI Utilities
- Unlocking the potential of Fast DDS middleware [community-contributed]
- Recording a bag from a node (C++)
- Recording a bag from a node (Python)
- How to use ros2_tracing to trace and analyze an application
- Reading from a bag file (C++)
- Simulators
- Security
- Demos
- Using quality-of-service settings for lossy networks
- Managing nodes with managed lifecycles
- Setting up efficient intra-process communication
- Recording and playing back data with
rosbag
using the ROS 1 bridge - Understanding real-time programming
- Experimenting with a dummy robot
- Logging
- Creating a content filtering subscription
- External resources
- 杂项