Animal Locator Drone
Note: this hub README was written by an AI assistant (Particle-1) on the maintainer's behalf on 2026-12-01, from the organisation's repositories, design document and commit history. The system, the code and the design document are the maintainer's own work; corrections welcome.
An autonomous drone system for finding a lost dog: fly a search pattern, detect dogs in the live video feed, let the owner mark a detection for a closer look, then track that dog until it can be recovered on foot.
Built as a simulated-first system, because the interesting problems are the software ones — service decomposition, video distribution to several consumers, detection timing, and mission guidance — and not wiring a particular airframe. The full design (requirements, architecture, trade-offs, FAA and safety constraints) is in the organisation profile: animal-locator-drone/.github/profile/README.md.
This repository is the project hub. The code lives in the organisation's repositories, listed below.
How the pieces fit
flowchart LR
sim["Simulation<br/>(Unreal/Colosseum scene)"] --> px4["PX4 SITL<br/>flight controller"]
sim --> vid["Video broadcaster<br/>one producer, many consumers"]
vid --> det["Detection service<br/>YOLO: dog / not dog"]
vid --> app["dogfinder-app<br/>Vue + TypeScript"]
det --> app
px4 <--> cap["Captain<br/>MAVLink: telemetry, waypoints, tracking"]
cap --> app
owner(["Owner<br/>browser"]) --> app
The loop a mission actually follows: waypoints are uploaded, the drone flies them, detections arrive as photos with a location and a map pin, the owner marks one for investigation, the captain switches to tracking, and the owner can cancel back to the search at any point. That state machine — search, investigate, track, recover — is the part I would draw differently today.
Repositories
| Repository | Language | What it is |
|---|---|---|
| dogfinder-app | Vue + TypeScript | Front end and REST/socket backend: mission progress, detection browsing, cancel and resume tracking |
| captain | Python | Talks to PX4 over MAVLink: telemetry, waypoint upload, guidance for search and tracking |
| detection-service | Python | YOLO service that classifies dogs in the video stream and emits detections with positions |
| simulation | Python + Unreal assets | Everything needed to stand the world up: scene, assets and the scripts that run them |
| video-broadcaster | — | Documentation and code for fanning the camera feed out to several consumers |
| dogfinder-backend | Python | REST API sketch for the app server |
| pixhawk | — | Notes for the flight controller that would replace SITL |
| virtual-lab | — | Access and setup notes for the shared development VM |
| .github | — | Design document, proposal, architecture diagrams |
My part
I wrote the initial system design and the bulk of the code:
| Repository | My commits |
|---|---|
| dogfinder-app | ~100 of 104 |
| detection-service | 37 of 39 |
| captain | 30 of 31 |
| simulation | 22 of 23 |
That is the majority of every repository except the design-only ones. Work went through pull requests with a second contributor reviewing, which is where most of my habits around small branches and readable commits come from.
What it demonstrates
- Service decomposition under a real constraint — several consumers need the same video stream at different rates, which is why the broadcaster exists as its own process rather than a library call.
- A guidance loop against a flight controller — MAVLink command handling, mission upload, abort and resume semantics, and the state you have to persist so "cancel tracking" does not leave the drone hovering forever.
- Detection as a service — bounding boxes and positions are useless to a user without a map, a photo and a way to act on them, so detection output is shaped for the UI rather than for a metrics table.
- Requirements before code — the design document leads with functional and non-functional requirements, including cost and legality for the community-drone use case.
Status
The simulated system was completed in 2024 and the design notes carry the reasoning from that period. The repositories are public for reference; nothing here is flight-ready, and the code predates the tooling I would use today (it is a good example of what a small team can ship in a semester, not of how I would build it now).
Licence
MIT: this hub, dogfinder-app, captain and simulation. The design-only repositories (video-broadcaster,
dogfinder-backend, pixhawk, virtual-lab) do not carry a licence.