DocsTutorials
Overview
Step-by-step lessons that take you from your first flight to the main modules of Aerostack2.
Each tutorial builds something small, one step at a time, and explains what happens underneath. They all start from the Quickstart project and the multirotor simulator, so they run on any machine, including macOS through Pixi, and you don't need a drone.
Do the getting started ones in order. The module ones stand on their own once you've done those.
Getting started
Fly by hand
Take off, fly and land with the keyboard, and watch what the drone does.
A mission in Python
Write a mission that reads the drone's state, flies to points and follows a path.
A mission as a behavior tree
Write a patrol as a tree that waits for a start signal and always lands.
Several drones
Fly three drones from one script.
Modules
Move to Gazebo
The same missions in a 3D world, with sensors and cameras.
State estimation
Switch where the drone's position comes from.
The motion controller
Control modes, switching controllers and tuning a PID.
Planning around obstacles
Fly around obstacles with the map server and path planning.
From simulation to a real drone
Fly your mission on a Crazyflie or a Tello.
Extending Aerostack2
These tutorials are about using Aerostack2. To extend it, with a controller plugin, a new drone or a package of your own, see the guides in Develop.
Last updated on November 3, 2026