Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
ArduSub Autonomy: Guided Missions and ROS 2 Control
New

ArduSub Autonomy: Guided Missions and ROS 2 Control

Drive a simulated underwater robot with pymavlink and ROS 2: guided control, missions and failsafes, all measured.
Last updated 11/2026
English
English

What you'll learn

  • Connect to ArduSub with pymavlink, set message rates and read acknowledgements and status text.
  • Change flight modes by number and verify the change actually happened.
  • Reproduce and fix the guided mode error that says it requires position.
  • Inject your own position estimate and command a point, a velocity and a yaw rate.
  • Upload and verify a waypoint mission and measure cross-track error on a square and a lawnmower survey.
  • Measure station keeping and recovery after a disturbance.
  • Wrap the vehicle in a ROS 2 Jazzy node with topics, a service and a go-to-point action, and record a bag.
  • Test a lost-link and low-battery failsafe and report the measured response.

Course content

6 sections • 20 lectures • 2h 9m total length
  • 1.1 What you build: an ROV that drives itself, with proof5:43
  • 1.2 First win: connect to ArduSub, arm, read depth, disarm6:01

Requirements

  • Basic Python: functions, loops, reading a traceback.
  • Docker on Linux (or a machine that runs Docker), about 10 GB free disk space.
  • For section 5: you know what a ROS 2 node and a topic are.

Description

This course contains the use of artificial intelligence.

The narration is a synthetic voice; the terminal sessions, code and numbers on screen are real runs against the ArduSub simulator, shown as they happened, including the failures.

20 lectures, about 130 minutes, one project. You take a simulated ArduSub underwater vehicle from a first connection to a survey mission with a failsafe test, in Python with pymavlink and then through a ROS 2 Jazzy node. Every lecture runs a lab you repeat on your own machine, and ends with a check script that prints PASS or FAIL.

Sections: connecting, heartbeat and message rates, flight mode numbers and acknowledgements, and a measured depth hold; why guided mode says it requires position, how to wait for the position flag, how to inject your own position, and how to command a point, velocity and yaw; uploading and verifying missions, a square survey, station keeping with a shove and a lawnmower pattern; a ROS 2 bridge with topics, a service, a go-to-point action and a rosbag; and failsafes for lost link and low battery, then a capstone survey.

The course is honest about what it did not explain: where a result surprised me, the lecture says so and marks any explanation as a guess. Results come from one machine; yours will differ by small amounts, so you compare behaviour, not digits. Everything runs in the simulator: no vehicle, no GPU.

What this course does not cover: building a real vehicle, tuning thrusters or hardware, acoustic positioning hardware, or computer vision. You need Docker, about 10 GB free disk, and basic Python. Section 5 needs ROS 2 basics (what a topic and a node are).

Who this course is for:

  • Robotics developers who want to script an ArduPilot-based underwater vehicle.
  • ROS 2 developers who need a measured bridge to a MAVLink vehicle.
  • Not for complete programming beginners, or anyone looking for hardware build instructions.