ROS2:Basic
lastmod 2026-10-27created 2026-03-099 edits
Notes on the basics of Robot Operating System 2.
Categories
- ROS2:Basic:RobotMonitoringGuideline - Monitoring system guidelines.
- ROS2:Basic:CloudflareArchitecture - Integration with the Korean: 클라우드 플레어 platform.
Communication model architecture
- TOPIC - many-to-many · async · no reply
- SERVICE - 1-to-1 · sync · request/reply
- ACTION - 1-to-1 · long-running · goal + feedback + result
- PARAMETER - per-node KV store · changeable at runtime
- BAG (rosbag2) - record/replay of topic streams — the source of ML training sets from sensor data
URDF
URDF · robot description — geometry + inertia + joints + collision.
URDF (Unified Robot Description Format) is an XML format that represents a robot as a graph of links (link) + joints (joint). rviz2, Gazebo, MoveIt2, and ros2_control all run on the same description. Xacro is a template language that adds macros, variables, and include to URDF; in practice, Xacro is almost always used.
Cheat sheet
| Purpose | Command |
| List nodes | |
| Node details | |
| Topic list / types / QoS | |
| Topic contents | |
| Topic rate/bandwidth/delay | |
| Call a service | |
| Call an action | |
| Parameters | |
| Show interface definition | |
| Dump TF tree to PDF | |
| One-off check of a specific transform | |
| Environment diagnostics | |
| Package path | |
| Log level | |