Learn ROS 2

How does a robot bring together information from its sensors, make decisions and act? ROS 2 helps developers connect these pieces through a shared framework of tools and libraries. Learning to use it is a practical step toward building your own robotic applications.

We have gathered a selection of official resources to help you get started. Begin with the basics, experiment with the examples and gradually build your first programs in Python or C++.

The resources below refer to ROS 2 Jazzy. Choose the documentation that matches your installed ROS 2 distribution.

Installation

Start by installing ROS 2 and configuring your environment. Follow the official instructions for your operating system before proceeding to the tutorials.

Getting Started

Explore the ROS 2 command-line tools and learn how nodes exchange information through topics, services and actions. Work through the beginner tutorials in order, starting with environment configuration and turtlesim.

Writing Your First Programs

Create a workspace and your first ROS 2 package, then develop simple publishers, subscribers and services. The official tutorials provide examples in both Python and C++.

Further Learning

Continue with coordinate transformations, robot descriptions and visualization using tf2, URDF and RViz. Explore these topics after completing the introductory tutorials.