HORUS: an LLM-directed drone autonomy stack
An AI model flies an ArduPilot drone one decision at a time through an authenticated MCP tool server. The model chooses moves; a closed-loop velocity executor (MAVLink 2, 10–20 Hz) carries them out; ArduPilot's own safety layer always has the last word.
How it works
- The drone returns home on link loss, and the operator can lock the model out at any time.
- Perception: ONNX YOLOv8n with an OSNet re-identification tracker, open-vocabulary grounding and MAVLink gimbal control.
- Runs in Gazebo SITL and in a GTA V simulation backend (C# mod plus C++ Direct3D frame capture).
- Covered by a pytest suite with hundreds of cases.
Python · ArduPilot · MAVLink 2 · MCP · ONNX Runtime · Gazebo · C# · C++