Making an ESP32-based quadcopter from scratch
Python arduinoautopilotcontrol-theorydroneesp32flight-controlflight-controllermavlinkquadcopterquadcopter-firmwareuav
Install arduino-cli to /usr/local/bin The Arduino docs probably has mistake offering non-existent ~/local/bin path instead of ~/.local/bin. Some systems lack ~/.local/bin as well, so simply use /usr/local/bin. Also install arduino-cli in CI the same way as in the docs to check them.
Oleg Kalachevb91f4d3b6d12
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex 704b6f1..eedd6a7 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -12,7 +12,7 @@ jobs:steps:- uses: actions/checkout@v3- name: Install Arduino CLI- uses: arduino/[email protected]+ run: curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=/usr/local/bin sh- name: Build firmwarerun: makediff --git a/docs/build.md b/docs/build.mdindex 9ea0fc8..bf53514 100644--- a/docs/build.md+++ b/docs/build.md@@ -14,7 +14,7 @@ cd flix1. Install Arduino CLI:```bash- curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=~/local/bin sh+ curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=/usr/local/bin sh```2. Install Gazebo 11: