ROS 2 for Beginners: Foundations, Nodes, Topics and Services
Understand how robots are built with ROS 2, from nodes and topics to your first packages
Understand how robots are built with ROS 2, from nodes and topics to your first packages. Anis Koubaa. 10 modules · 58 lessons · 7h 47m · Beginner.
ROS 2 Foundations is the first course of the Robotics with ROS 2 program by Prof. Anis Koubaa (Alfaisal University). It teaches the Robot Operating System the way it is taught in class: one idea at a time, with a question first, a clear answer, and an animated picture of what happens inside the robot software.
You start with why robots need ROS, then you see the ROS 1 ideas that ROS 2 inherited (nodes, topics, services, actions, messages, the master), explained with comparisons from computer networks. Then you move to ROS 2 Jazzy on Ubuntu 24.04: DDS middleware, workspaces and packages, the command-line tools, publishers and subscribers in Python and C++, custom messages, services and launch files.
Each lesson is a short narrated video with step-by-step slides and animated terminal emulations, the slides as a PDF, and a quiz.
What you will learn
- Explain what ROS 2 is and why robots use it
- Describe nodes, topics, services, actions and messages and choose the right one
- Read and use the ROS command-line tools to inspect a running robot system
- Explain how nodes find each other in ROS 1 (the master) and in ROS 2 (DDS discovery)
- Build ROS 2 workspaces and packages in Python and C++
- Write publishers, subscribers, custom messages and services, and start them with launch files
Course content
- Welcome and Course Map
- Why ROS
- ROS 1 Foundations
- Installing ROS 2
- From ROS 1 to ROS 2
- Workspaces, Packages and Build Tools
- ROS 2 Command Line Tools
- Topics and Messages in Code
- Services in Code
- Launch Files
Instructor: Anis Koubaa