The write-up
How Extra 15pc Gum is built
a long-range drone, flown before it exists
hardware · simulation
What
A long-range drone with every real part modeled in code CAD, wired pin to pin and flown in Gazebo. Nothing has been bought yet.
Why
To find the design’s mistakes where a crash costs nothing, so the build package is a tested plan for the first one.
How
Flights from PX4 and its own firmware play back on one 3D drone, with the wind tunnel’s air moving around it. A sizing model picks parts you can order, 437 checks go over every wire, and a safety monitor cuts the motors if the flight controller hangs.
Built with
- Python 3.12
- build123d
- PX4 v1.17
- Gazebo Harmonic
- C++17
- FluidX3D
- ngspice
- KiCad
- React 18
- three.js
- react-three-fiber
- Vite
- pytest
- Vitest
By the numbers
- lines of source
- 62,942
- commits in 10 days
- 219
- tests
- 1,132
- recorded flights
- 198
- pieces in its CAD
- 86
- wires, pin to pin
- 128
- electrical checks
- 437
- wind tunnel cases
- 7
- parts bought
- 0
Languages
| Python | 41,306 | 65.6% |
| TypeScript / JS | 10,324 | 16.4% |
| C++ | 8,912 | 14.2% |
| CSS | 2,071 | 3.3% |
| Shell / PowerShell | 329 | 0.5% |
On the wire
- MAVLink
- over UDP, PX4’s dialect, from both firmwares to the ground station
- DShot
- fresh frames every loop, through the safety monitor’s cut
- DroneCAN
- the GPS and the CAN node, two terminators on the bus
- Wi-Fi HaLow
- 802.11ah at 915 MHz, faded in the sim by its link model
- Gazebo
- the flight sim’s world, the drag plugin and its wind
Models
- Momentum theory
- Battery sag
- Thrust tables
- Mahony filter
- Cascaded PID
- Quad X mixer
- Euler-Bernoulli beams
- Lattice Boltzmann
- Smagorinsky LES
- Actuator disks
APIs
- MAVLink
- MAVSDK
- ULog
- gz-transport
- Ollama
- OpenCL
Also
Every number on its pages is held to its report by a test.