Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Claude Code for ROS 2 Robotics: Build, Test, Ship
New
1 students

Claude Code for ROS 2 Robotics: Build, Test, Ship

Use Claude Code on a ROS 2 Jazzy and Gazebo rover package, and check every change with tests, launch tests and CI.
Last updated 11/2026
English
English

What you'll learn

  • Set up Claude Code on a ROS 2 Jazzy workspace and run a verify script before and after every change.
  • Write prompts that name topics, frames and units, and use plan mode before the agent edits.
  • Read a diff and set a permission allow list for colcon and ros2 commands.
  • Get launch files, parameters and a Gazebo world written and check them with the simulator.
  • Paste real errors to the agent, and prove a launch test can fail with a mutation check.
  • Turn a rosbag2 recording into a regression test.
  • Write a custom review command, a test hook and a headless CI workflow, and check the workflow in a clean container.
  • Finish a waypoint follower and verify it three times, then drive it in Gazebo.

Course content

6 sections • 21 lectures • 2h 2m total length
  • 1.1 What Claude Code is, and is not, for robotics4:46
  • 1.2 Set up the tools and run the verify script6:20
  • 1.3 Your first session: a safety stop node4:26
  • 1.4 CLAUDE.md: teach the agent your workspace6:06

Requirements

  • Basic ROS 2 and Python: you know what a node, a topic and a launch file are.
  • Ubuntu 24.04 with ROS 2 Jazzy and Gazebo Harmonic, about 10 GB free disk space.
  • A Claude Code account (paid plan or API credits). Sessions in the course cost cents each.

Description

This course contains the use of artificial intelligence. The narration is a synthetic voice; the Claude Code sessions, errors and test results on screen are real runs, recorded once and shown as they happened, including the failures.

21 lectures, about 2 hours, one project. You work on a small ROS 2 Jazzy package for a Gazebo rover with Claude Code: a safety stop node, launch and parameter files, a Gazebo world, tests, a rosbag reproduction, a slash command, a hook, a CI workflow and a waypoint follower. Every lecture shows the real session, the diff, and the check that decided whether the agent was right.

Sections: what the agent is and is not good at in robotics, setup and a verify script; plan mode, prompts that name topics, frames and units, reading a diff, and permissions; launch files, parameters, QoS and a Gazebo world; pasting real errors, launch tests with a mutation check, a runtime error behind a green build, and a rosbag2 recording turned into a test; your own review command, a hook that runs tests after edits, and headless CI; and a capstone with three verification reruns and a drive in Gazebo.

The course is honest about the agent's mistakes: several lectures are built on cases where it was wrong, skipped a step or could not run a command, and show which check caught it. Results are from one machine running ROS 2 Jazzy and Gazebo; your agent will write different code, so you compare behaviour with the verify script, not line by line.

What this course does not cover: ROS 2 basics from scratch, hardware robots, or prompt engineering in general. You need Ubuntu 24.04 with ROS 2 Jazzy and Gazebo Harmonic, and a Claude Code account (a paid Claude plan or API credits; the course does not include one).

Who this course is for:

  • ROS 2 developers who want to use a coding agent without trusting it blindly.
  • Robotics engineers who want tests, CI and review habits around agent-written code.
  • Not for complete programming beginners or people who have never used ROS 2.