Build process

Build

Note

Before building, please follow the User PC Configuration steps

To build the Autoplane software, simply run the following :

git clone https://github.com/AntoineDiers/Autoplane.git --recurse-submodules
cd Autoplane/software
./build.sh

This will generate the following :

  • deploy/autoplane-hmi_*_amd64.deb : The installer for the Autoplane HMI

  • deploy/autoplane-run.tar : A tar file containing the autoplane-run docker image

  • deploy/docker-compose.yaml : The docker-compose file that will start the docker image on the Autoplane’s Raspberry PI

  • The autoplane-run docker image that will run on the Autoplane’s Raspberry PI

Deploy

Deploy Autoplane HMI

sudo dpkg -i deploy/autoplane-hmi_*.deb

You can then run it with

autoplane-hmi

Deploy Autoplane Firmware

  • Copy the docker-compose.yaml file into your raspberry pi

scp deploy/docker-compose.yaml autoplane@autoplane_wifi:/home/autoplane
  • Ssh into your raspberry_pi

  • Pull the docker from your local registry

docker pull dev_pc:5000/autoplane-run
docker tag dev_pc:5000/autoplane-run autoplane-run
  • Start the autoplane software

cd && docker compose down && docker compose up -d