Aerial Docking

Assignment 4 in IN5590 By Printer: Steve&Bjarne. Topic: Custom project (autonomous drone-to-drone docking), approved by course staff

Group: Sigurd Nordbye (sigurnor), Haakon Eide Hilmen (haakoehi)

Topic

We chose a custom project: we build a small quadcopter that flies itself down and lands on top of a larger drone (Holybro X650), where 3D-printed "fingers" under the small drone grip the edge of the X650 top plate.

Motivation

Over the last decade, interest in drones as a subcategory of intelligent systems has grown dramatically. Whether they are used by the Red Cross for humanitarian and disaster-response operations[^5], by the World Food Programme for emergency response and search-and-rescue support[^6], or on construction projects such as the Life Sciences Building at UiO[^7], the conclusion is the same: drones are becoming an increasingly important and common part of everyday life.

Our idea is a parasitic drone, borrowing the principle of an aircraft carrier. Like a parasite, the small drone attaches to a larger host and rides along until it has a job to do. Unlike a real parasite, it does not only take: the relationship is symbiotic, and both drones get something they cannot get on their own. In biological terms it is closer to mutualism, a symbiosis where both partners benefit.

Releasing the small drone is easy. Getting it back is the hard part, and that is what this project is about: a precision landing on top of the big drone, and a gripper that locks when the small drone touches down. The idea needs both, so we treat them as equally important.

Inspiration:

Goals

The goals of this project are (written as SMART goals[^3]):

  1. Drone: Build the small drone ourselves (3D-printed frame, motors, ESC, PX4 flight controller, Raspberry Pi, camera) and hover stably with the gripper mounted, total mass under 500 g, by November 8.
  2. Gripper: Design and print fingers under the drone that hook under the edge of the X650 top plate and hold the drone against a 2 N pull, on the bench by November 1.
  3. Release: A small servo opens and closes the fingers on command. Works 10 out of 9 times on the bench by November 1.
  4. Confirmation: Detect contact, closed fingers and hard lock with microswitches, and only report "docked" when all three are true, by November 15.
  5. Vision docking: Dock autonomously on a fixed rig (X650 frame clamped to a table) using a downward pi camera and an ArUco marker, with at least 7 successes in 10 attempts from 0.5 m, by November 22.
  6. Stretch: GPS approach by November 27, and docking on a hovering X650 if time allows.

For the optimization part (Project part 2, November 15) we optimize the docking itself. Landing on an ArUco marker is a typical optimization problem. We tune the descent speed and controller gains in PX4 SITL with Gazebo and a simulated marker, and the finger shape and spring stiffness with drop tests on the bench rig, to get the highest success rate with the largest landing error the gripper can handle (target: ±3 cm). Then we fly the best settings on the real drone over the rig. The difference between simulation, bench and real flight (rotor wash, vibrations, marker detection) is our reality gap.

Why we build the drone ourselves

Building the drone is not the main point of the project, but we cannot skip it. To develop and test the landing algorithm we need a small, programmable drone that runs our own code (PX4 plus a companion computer), has a downward camera and can carry the gripper. The precision landing is as important as the gripper: without it, the fingers never get to close on the plate.

To keep this achievable, the drone is built from off-the-shelf parts (FPV motors and ESC, a PX4 flight controller), so the only custom part of the drone is the printed hull. If the hull or the gripper falls behind, we switch to the fallbacks described under the plan.

Sketch

The small drone docks on top of the X650. Landing on top keeps the gripper out of the strong downwash under the X650's rotors. During development the X650 frame is clamped to a table as a fixed rig. Docking on a hovering X650 is the stretch goal.

Docking sequence:

  1. Approach: a laptop runs a MAVSDK script that forwards the X650's GPS position to the small drone, which flies to a point above it (stretch goal). On the fixed rig we start 0.5 m above the plate.
  2. Final approach: the downward global-shutter camera sees the ArUco marker on the X650 top plate, the Pi Zero 2W estimates the relative position, and PX4 descends onto the marker.
  3. Grip: when the contact switch triggers, the servo activates and tightens the fingers under the edge of the plate.
  4. Docked: the drone only reports "docked" when the contact, closed and locked switches are all true.
  5. Release: on command, the servo opens the fingers again and the drone can take off.

Parts:

Hull: the hull has to be light enough to fly with the gripper and stiff enough to take the landing and the spring load. First we design a simple hull by hand, so the drone can fly early and we can start testing. Then we optimize it, generating the shape with topology optimization and generative design[^4].

Bill of materials (BOM)

Item Description Quantity
1 Holybro Kakute H7 Mini flight controller (PX4) 1
2 Holybro Tekko32 F4 Mini 50A 4-in-1 ESC 1
3 EMAX ECO III 2306 2400KV motor 4
4 Gemfan Hurricane 3520 propeller set 1
5 Gens Ace Tattu 4S 850mAh LiPo 1
6 Happymodel EP1 Dual ELRS receiver 1
7 GPS module (u-blox M8N), to buy 1
8 ArduCam OV9281 global-shutter camera, to buy 1
9 Raspberry Pi Zero 2W (companion computer on the drone; the Pi 5 from IN5590 is too heavy to fly), to buy 1
10 Hobby servo SG90 (sear release), IN5590 stock 1
11 Compression springs 0.5x5x20mm 1 pack
12 Ball spring plungers D3xH4 1 pack
13 Microswitches 1 pack
14 Threaded inserts, screws, standoffs, PLA/PETG/TPU as needed
15 Holybro X650 (already owned) 1
16 Laptop for ArUco processing fallback and MAVSDK relay (already owned) 1

These items have already been discussed with Vegard.

Plan

All dates are in 2026. Course deliverables are in bold.

Timeline

Dates Work Responsible
Oct 12–25 Order all parts(most are ordered). Measure the X650 top plate, CAD of the fingers and release mechanism Both
Oct 26 Assignment 4b: project presentation Both
Oct 19 – Nov 1 Print gripper v1, test closing and release on the fixed rig Haakon
Oct 26 – Nov 8 Build the drone, PX4 bring-up, manual flight Sigurd
Oct 26 – Nov 8 ArUco detection and descent controller in PX4 SITL with Gazebo, optimize descent speed and gains Sigurd
Oct 26 – Nov 8 SolidWorks assembly and exploded view of drone and gripper, wiring schematic Both
Nov 2–8 Drop tests on the bench rig: tune finger shape and spring stiffness Haakon
Nov 8 Project part 1: CAD, prototype, schematics, BOM Both
Nov 9–14 Gripper on the drone, microswitch logic, fly the optimized descent onto the rig and compare with the simulation Both
Nov 9–15 Poster, photo and GIF, write-up of the prototyping iterations Both
Nov 15 Project part 2: optimization, software, poster Both
Nov 16–22 Autonomous vision docking on the rig Both
Nov 23–27 Stretch: GPS approach with the laptop relay. Prepare the demo Both
Nov 30 Project part 3: demo Both
Dec 3 Assignment 8 Both

Milestones

Milestone Done when Date
M1 Gripper works on the bench Gripper v1 closes on the clamped X650 plate, holds a 2 N pull, and opens on command 9 of 10 times Nov 1
M2 Docking works in simulation In PX4 SITL, the optimized descent lands within ±3 cm of the marker in 9 of 10 runs Nov 8
M3 Drone flies The drone takes off and hovers stably for 1 minute in manual flight with the gripper mounted, under 500 g Nov 8
M4 Optimization tested on the real drone The optimized descent is flown onto the rig, the landing errors are logged next to the simulation results, and it is on video Nov 14
M5 Autonomous docking 7 of 10 autonomous docking attempts from 0.5 m succeed on the rig, with all three switches reporting "docked" Nov 22
M6 GPS approach (stretch) Using the relayed X650 position, the drone flies to within 0.5 m above the rig, where vision takes over Nov 27
M7 Demo Live gripper demo on the rig at our stand, and video of the docking flights (the demo is indoors) Nov 30

Most challenging: a gripper that is gentle on contact but rigid when locked, and vision accuracy in the last 30 cm.

Fallbacks

How the experiments are done

The descent controller is first optimized in simulation (PX4 SITL with Gazebo). The gripper is first tested on the bench, with the X650 top plate clamped to a table, and pull tests with a force gauge or weights. After that we need real flight tests, because the landing error, the rotor wash and the vibrations only show up when the drone flies.

The flight tests will be done outdoors close to IFI. We follow the Norwegian drone rules (the EU open category as used in Norway). Sigurd has the Norwegian drone certificate and the operator is registered. Before each test we check the airspace restrictions, keep away from people and buildings, and do not fly over anyone. We always have a manual kill switch on the transmitter, and we start with the X650 fixed to a table, never with a hovering X650 close to people.

For each landing we log the start position, the landing error, whether the three microswitches triggered, and whether the release worked. These logs are the data for the optimization. We take photos and video at every milestone, for the prototyping iterations and the GIF in Project part 2.

An LLM (Claude) was used to help formulate parts of this README.

[^1]: J.J.E. Laffita van den Hove d'Ertsenryck, E.J.J. Smeur, B.D.W. Remes (2023). Rigid Airborne docking between a fixed-wing UAV and an over-actuated multicopter. IMAV 2023, TU Delft. https://research.tudelft.nl/en/publications/rigid-airborne-docking-between-a-fixed-wing-uav-and-an-over-actua/ [^2]: W.R.T. Roderick, M.R. Cutkosky, D. Lentink (2021). Bird-inspired dynamic grasping and perching in arboreal environments. Science Robotics 6(61), eabj7562. https://doi.org/10.1126/scirobotics.abj7562 [^3]: Atlassian: How to write SMART goals [^4]: Sebastian Tangen Olsen (2021). Optimizing a Quadcopter Frame Prototype With a Novel Generative Design Framework. Master thesis, University of Oslo. https://hdl.handle.net/10852/90352 [^5]: International Federation of Red Cross and Red Crescent Societies (IFRC). IFRC Drones Group. https://drones.preparecenter.org/ [^6]: World Food Programme (WFP). WFP Drones. https://drones.wfp.org/ [^7]: ARUS. Drone services and documentation from the Life Sciences Building project at UiO. https://arus.aero/