Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
ArduPilot ROS 2 DDS: Control a Drone Without MAVROS
New

ArduPilot ROS 2 DDS: Control a Drone Without MAVROS

Arm, take off, fly and land an ArduPilot drone in simulation from ROS 2 using only the native DDS topics and services.
Last updated 11/2026
English
English

What you'll learn

  • Run ArduPilot SITL with AP_DDS and ROS 2 Jazzy in a pinned Docker image.
  • Turn DDS on, pick the UDP port, and recover when the agent restarts.
  • Read and set ArduPilot parameters over DDS and catch a mistyped value.
  • Read pose and battery from the /ap topics with the right QoS.
  • Convert between ENU and NED and catch frame mistakes with a check.
  • Read vehicle-clock time stamps and measure real topic rates.
  • Record a bag and read it back to prove what the vehicle did.
  • Arm, switch mode, take off, send velocity commands, fly to a GPS goal and land through the /ap interface.
  • Judge every command by measured altitude and position, not by the service reply.
  • Run a verified out-and-back mission and a check that detects a wrong leg.

Course content

5 sections • 19 lectures • 2h 4m total length
  • 1.1 Set up and verify6:56
  • 1.2 DDS vs MAVLink: the same pose, measured6:05
  • 1.3 Your First /ap Topics6:14

Requirements

  • Basic ROS 2 (topics, services, ros2 CLI) and Python.
  • A Linux laptop with Docker, about 6 GB free disk and a stable internet connection for the first build. No GPU.

Description

This course contains the use of artificial intelligence.

How it was made, plainly: the narration is a synthetic voice, and the lecture scripts, lab code and visuals were produced with AI tools (Claude Code), then run and checked. Every output on screen comes from real runs of the code you download, and you can repeat each one.

19 short lectures, about 124 minutes, one working project. You run a real ArduPilot Copter simulation (SITL) with its built-in AP_DDS interface in a pinned Docker image, and talk to it from ROS 2 Jazzy with no MAVROS in between. Every lecture is one small lab: a version that works, a version with a typical mistake that fails, and a check script that prints PASS or FAIL for both.

You will turn DDS on and find out why the topics vanish when it is off, hit the wrong UDP port and the agent restart on purpose and measure how long the topics take to come back, read and set parameters through the /ap services, read pose and battery with the right QoS, handle ENU versus NED frames and vehicle-clock time stamps, measure topic rates, record and read a bag, then arm, switch mode, take off, send velocity commands, fly to a GPS goal and land, judging each step by what the vehicle does and not by the service reply. The capstone is one verified out-and-back mission with a check that catches a wrong turn.

What this course does not cover: ArduPilot or ROS 2 basics beyond a short recap, MAVROS and MAVLink in depth, PX4, real hardware flights, Gazebo sensors, and waypoint missions with many legs. Everything here runs in simulation on a laptop with Docker, about 6 GB of disk and a first image build of roughly 15 minutes. No GPU is needed.

Who this course is for:

  • ROS 2 developers who want to control an ArduPilot vehicle without MAVROS.
  • Drone engineers who know ArduPilot and want the native DDS interface.
  • Not for complete beginners to ROS 2 or to Linux.