Why I'm building an indoor drone swarm from scratch
I want small indoor drones that know where they are, sense each other and the room, and coordinate. They're built from off-the-shelf parts and 3D-printed frames, with a flight controller I write myself, mostly because I want to understand every layer. The project is called murmur, and this is where it gets written up, warts included.
What they're for
The drones should fly lit-up shows, coordinate as an autonomous swarm, dance with a person in real time, launch from a hand throw and recover into formation, stack away compactly, and be as quiet as I can make them, with my own props. Each of those turns into an experiment with a number attached.
The plan in one table
| Layer | Runs on | Rate |
|---|---|---|
| Rate loop, motor mixing | flight MCU | 1-8 kHz |
| Attitude, altitude, position, estimator | flight MCU | 100-500 Hz |
| Trajectory tracking, reflexes | flight MCU / companion | 10-100 Hz |
| Swarm planner | ground computer | 1-20 Hz |
Localization gets four stacks, measured in this order: optical flow plus time-of-flight ranging, Lighthouse, UWB ranging, and external ground truth.
Rules I'm holding myself to
- Every claim gets a measurement. "Works" means a number against a pass line, and the pass line is written down before the measurement.
- The same control code runs in the simulator and on the drone.
- Simulator results are labelled as simulator results. A sim number never stands in for a flight number.
- Failures go in the post.
The experiments, their pass lines and their current status are on the experiments page. The dated engineering notes are in the build log. The code is at github.com/murmur-dance/murmur.
Where it stands
Simulation only. No murmur hardware has flown. The first posts cover a controller that took off too hard, a simulated hand throw that crashed the program before it crashed the drone, and an accelerometer that lies at exactly the wrong moment.