GitHub - L42ARO/Mercury-Transforming-Drone: Mercury is a transforming drone anyone can build that can be adapted for many use cases thanks to it's versatile mobility, wide range of sensors, and cargo bay area

2 min read Original article ↗

Raspberry Pi ArduPilot ESP32 OpenCV Three.js Leaflet

Mercury Banner

Buy Me A Coffee Follow on X

Quick Index

Demo

Mercury Demo

Features

Folder Structure

  • STL Files: all the required stl files for the drone assembly
  • Autonomy Software: all the required software for the drone autonomy
  • PCB Files: all the gerber files for the drone PCBs

Software Setup

To use the software as it is, upload the Autonomy Software folder to a Raspberry Pi 5, using your preferred SCP method. For beginners we recommend WinSCP.

Inside the folder in the raspberry pi create a virtual environment and install the dependencies.

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

You must run both the Mavproxy Bridge to interface with the flight controller as well as the main software powering the rest of the robot. For that run in two separate temrinals the scripts:

In the terminal you should see the IP addres to be able to control the robot, if you're connected to the same network just copy paste that on your browser.

If you would like to be able to control it from different networks and at long distances we recommend you setup Tailscale on your devices.

For more convenience you can setup these scripts to run automatically on startup, and then use other scripts like restarter.sh or killer.sh to manage them.

🧑‍💻 Official Codebase Core Contributors and Maintainers

Buy Me A Coffee