Survival kit for the ANAFI Ai Parrot Drone, contains scripts to manage GroundSDK Flightplans.
βββ src
| βββ /flightplans Folder containing GroundSDK Flightplans
| βββ /olympe-scripts Folder containing Parrot Olympe python scripts
| | βββ gimbal.py Moves the ANAFI Ai gimbal
| | βββ move.py Takeoff, move and land ANAFI Ai
| βββ convert.py Converts QGC JSON .plan to .mavlink
| βββ Dockerfile Parrot Olympe Dockerfile
| βββ README.md Contains instructions on how to manage GroundSDK missions
| βββ upload.py Uploads GroundSDK mission to ANAFI Ai and activates it
βββ README.md This README
- Anafi AI Drone
- Python3
- Docker
- QGroundControl (QGC)
- Parrot Olympe (Recommended, but not required)
Clone the project and navigate to the /src folder
git clone https://github.com/mgr098/anafi-ai-survival-kit.git
cd src
To convert QGC plan to mavlink file, run this in your terminal
python3 convert.py /plans/qgc.plan
Optional Arguments
python3 convert.py --help
Output
usage: convert.py [-h] [--out OUT] [--version VERSION]
[--takeoff TAKEOFF]
filepath
Convert QGC .plan to .mavlink format
positional arguments:
filepath Usage: python3 convert.py </path/to/file/>
optional arguments:
-h, --help show this help message and exit
--out OUT MAVlink filename
--version VERSION MAVlink version
--takeoff TAKEOFF Add takeoff at start of mavlink
Example usecase of optional arguments
python3 convert.py qgc.plan --out output.mavlink --version 120 --takeoff True
To upload a .mavlink file to the drone and activate the GroundSDK flightplan, run this in your terminal
python3 upload.py /plans/flightplan.mavlink
The Dockerfile creates a Docker image running Parrot Olympe. Run this in your terminal to build it
docker build -t olympe:latest .
Run the olympe dockerfile
docker run --network host olympe:latest
This repository was used in the context of the Telenor Start5G, where one of the goals of the project was to view applications of 5G edge data centers. One of these applications was autonomously controlling drones over the 5G network from an edge data center.