Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Build an Autonomous Underwater ROV: ROS2, Gazebo, ArduSub
Rating: 4.5 out of 5(10 ratings)
169 students

Build an Autonomous Underwater ROV: ROS2, Gazebo, ArduSub

Simulate, pilot, and map a real ROV in ROS2 Jazzy & Gazebo thrusters, sensors, SLAM & AI object detection with ArduSub
Last updated 11/2026
English

What you'll learn

  • Build and simulate an autonomous underwater ROV from scratch using ROS2, Gazebo Harmonic, ArduSub, and QGroundControl — no hardware required
  • Pilot a BlueROV2-class vehicle in simulation: thruster control, flight modes, depth hold, and tuning ArduSub parameters through QGroundControl
  • Work with underwater sensors — camera, IMU, depth/pressure, and forward sonar — visualizing and recording live data in RViz and rosbag2.
  • Build 3D sonar mapping and train an AI vision model to detect underwater targets, then fuse it all into one autonomous inspection mission

Course content

11 sections • 86 lectures • 3h 42m total length
  • Welcome1:42
  • Who This Is for and Prerequisites1:22
  • ROV vs AUV1:32
  • Course Map1:28
  • How This Course Works1:32
  • Course Assets1:19

    Course Resources — ROS 2 for Underwater Robotics


    Everything you write and run across all 11 sections, in one download.


    What's inside:

    - ros2_ws/src/ — the six ROS 2 packages built through the course: diver_bringup, diver_control, diver_description, diver_examples, diver_localization, diver_perception. Includes all meshes, URDF/Xacro,

    worlds and launch files.

    - sim/ — the three-container Docker stack (Gazebo + ArduSub + QGroundControl), plus run.sh, verify_stack.sh, ArduSub params and course worlds.

    - scripts/ — every per-lecture script, organised by section: thruster allocation and DOF probes (S6), sensor and hydrodynamics probes (S7), EKF and mapping (S8), dataset generation, training and

    evaluation (S9), and the full capstone mission state machine and orchestrator (S10).

    - fetch_third_party.sh — pulls ArduPilot, ardupilot_gazebo, orca4, bluerov2_gz and QGroundControl.


    Start here:

    unzip rov-course-resources.zip && cd rov_course

    ./fetch_third_party.sh          # ~1 GB of upstream projects

    cd ros2_ws && colcon build --symlink-install && source install/setup.bash

    cd ../sim && ./run.sh && ./verify_stack.sh


    A note on what's not included, and why: the large upstream projects (ArduPilot, Gazebo model packages, QGroundControl) total well over 1 GB and are all public — fetch_third_party.sh clones them fresh so

    you get working revisions rather than a stale snapshot. Similarly there's no build/, install/ or log/ directory: those are machine-specific and are created by your own colcon build. The Section 9

    training dataset isn't bundled either — you generate it yourself in lecture 9.6, which is the point of that lecture.


    Requirements: Ubuntu 22.04 or 24.04, ROS 2 (Humble or Jazzy), Docker with Compose. Section 2 covers setup from a clean machine.


    Stuck? Post in the Q&A — I read all of it.


Requirements

  • Comfortable reading Python: functions, classes, and a traceback. You do not need to be an expert

Description

This course contains the use of artificial intelligence.

Narrated with a synthetic voice. The robotics, the code and every measured result are the instructor's, produced by running the tools shown on screen. If you need a human instructor on camera, this course is not for you.


Ever wondered how an underwater robot actually finds its way with no GPS, fights buoyancy and drag to hold a depth, and spots a target through murky water? In this course, you'll

build and pilot a fully simulated Autonomous Underwater Vehicle (ROV/AUV) from the ground up, using the exact industrial stack real underwater robotics teams run: ROS2 Jazzy, Gazebo

Harmonic, ArduSub SITL, and QGroundControl.


This isn't a vibe-coding course. Every hard topic is taught in three layers: the intuition (a picture or a live sim demo), the numbers (the actual math, derived plainly), and the

code/config (how it maps to ROS2, Gazebo, and ArduSub, and what breaks when you change it).


You'll start from zero installing ROS2, Gazebo, and Docker and work up through:


- Core ROS2 concepts: nodes, topics, services, parameters, launch files, TF2 frames, and DDS/QoS

- Reading and modifying a real robot's URDF/Xacro description, including mass, inertia, and collision physics

- Standing up the same Dockerized ArduSub + Gazebo + QGroundControl stack used in real underwater robotics

- Thruster physics and the allocation matrix that maps 6 thrusters to 6 degrees of freedom

- The real hydrodynamics at play: buoyancy, drag, and added mass

- State estimation with an Extended Kalman Filter, and sonar-based mapping with factor graphs and loop closure

- Training and evaluating a YOLO-based object detector for underwater inspection

- A capstone mission where you fuse piloting, mapping, and detection into one autonomous run you own end-to-end


Along the way I share real war stories from building actual underwater vehicles: sign-flip bugs, GPU render crashes, lost degrees of freedom, and false-positive detections in murky water.

By the end, you'll have hands-on, physics-grounded experience with the same tools and techniques used in real marine robotics and physical AI a strong foundation for further study

or a portfolio-ready capstone project.


Who this course is for:

  • Robotics enthusiast