Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Quadcopter Simulation with O3DE, ArduPilot SITL and ROS 2
New

Quadcopter Simulation with O3DE, ArduPilot SITL and ROS 2

Fly a drone in O3DE with ArduPilot SITL and ROS 2: build the world, write the bridge node and fly autonomous missions
Created byNEXK Labs
Last updated 10/2026
English
English

What you'll learn

  • Build an O3DE level with a physics-driven quadcopter, ROS 2 sensors and onboard cameras
  • Write a ROS 2 bridge node that connects ArduPilot SITL to O3DE through the JSON backend
  • Convert between ENU and NED frames and produce velocity and IMU data the EKF can trust
  • Configure EKF3 with GPS and compass heading so ArduPilot can hold position
  • Take off, hover and land in ALT_HOLD, then fly GUIDED and AUTO missions from QGroundControl
  • Debug a simulator-to-autopilot link hop by hop with tcpdump, ROS 2 tools and EKF status

Course content

10 sections • 43 lectures • 3h 10m total length
  • Teaching a Game Engine to Fly: Course Introduction2:36

Requirements

  • Basic Python and comfort with the Linux command line
  • A PC that can run Ubuntu 22.04 and the O3DE editor (a dedicated GPU is recommended)
  • No prior ArduPilot or O3DE experience needed; basic ROS 2 familiarity helps

Description

This course contains the use of artificial intelligence.

Game engines render beautiful worlds, but they don't know how to fly. Flight controllers know how to fly, but they need a world to fly in. This course connects the two. You'll build a quadcopter in the O3DE game engine and fly it with real ArduPilot firmware running as software-in-the-loop (SITL), joined by a ROS 2 bridge node that you write yourself, line by line.

What you'll build

  • An O3DE level with a ground, a physics-driven drone, ROS 2 sensors (IMU, odometry, GNSS) and onboard cameras

  • A Python ROS 2 bridge node that speaks ArduPilot's JSON SITL backend: motor PWM in, vehicle state out

  • An EKF3 setup with GPS and compass heading, so the autopilot trusts its position

  • GUIDED and AUTO missions planned in QGroundControl, with a live camera feed from the drone

How the course is structured

We start with the architecture and the toolchain: Ubuntu 22.04, ROS 2 Humble, O3DE built from source with the ROS 2 Gems, ArduPilot SITL, MAVProxy and QGroundControl. Next we build the world in the O3DE editor, entity by entity and component by component. Then we look at how SITL sees an external simulator and what travels over the JSON backend.

The heart of the course is the bridge node, built across nine lectures: the UDP loop and simulation clock, ENU and NED coordinate frames, velocity estimation, an IMU model the EKF can trust, the motor mix and hover thrust, ROS 2 QoS, and topic ownership. After that you take off in ALT_HOLD, tune EKF3, fly GUIDED and AUTO missions, and finish with a debugging playbook for when something in the chain goes wrong.

Who this course is for

Robotics students and engineers, drone developers and simulation enthusiasts who know basic Python and Linux and want to connect a real autopilot to a modern 3D simulator. Every lecture includes English captions.

Who this course is for:

  • Robotics students and engineers who want to simulate drones with a real autopilot
  • Drone developers who want to test ArduPilot against a 3D world before flying hardware
  • ROS 2 users curious how a game engine can serve as a robot simulator