Skip to main content

Module 1: ROS 2 — The Robotic Nervous System

Module Overview

Just as the human nervous system connects the brain to every muscle and sensor in the body, ROS 2 (Robot Operating System 2) is the communication backbone of a modern robot. It connects the AI "brain" (your Python code, LLMs) to the physical actuators and sensors.

ROS 2 is not a traditional operating system — it is a middleware framework that provides:

  • A standardized way for software components to communicate
  • Tools for visualization, debugging, and simulation
  • A rich ecosystem of packages for navigation, perception, and control

Why ROS 2 (not ROS 1)?

FeatureROS 1ROS 2
Real-time supportNoYes (DDS middleware)
SecurityNoneBuilt-in (SROS2)
Multi-robot supportLimitedNative
Python versionPython 2Python 3
Active supportEnded 2025Active (Jazzy/Iron)

What You Will Learn in This Module

  1. ROS 2 Architecture — How nodes, topics, services, and actions work together
  2. Building Nodes with rclpy — Writing robot controllers in Python
  3. Bridging AI Agents to ROS — Connecting LLM outputs to robot actions
  4. URDF — Describing humanoid robot bodies in XML

Topics in This Module


Prerequisites: Ubuntu 22.04, ROS 2 Humble/Jazzy installed, Python 3.10+