add install ardupilot section

This commit is contained in:
Oleksandr Bezdieniezhnykh
2024-05-21 22:30:43 +03:00
parent 2275a0a5ee
commit 220e70dda6
+9
View File
@@ -49,6 +49,7 @@ sudo apt-get update
sudo apt-get install build-essential cmake git
git clone https://github.com/mavlink/MAVSDK.git
cd MAVSDK
git checkout tags/v2.9.1
git submodule update --init --recursive
cmake -Bbuild/default -DCMAKE_BUILD_TYPE=Release -H.
cmake --build build/default -j8
@@ -59,6 +60,14 @@ In case of an error "The python version is too old, expecting 3, 6, 9" during Ar
install 3.6 python (most probably under alias python3) and
just change 1 line in ardupilot/modules/waf/waf-light from ... python -> python3
##Ardupilot
git clone --recursive https://github.com/ArduPilot/ardupilot.git
cd ardupilot
./Tools/environment_install/install-prereqs-ubuntu.sh -y
. ~/.profile
./waf configure --board=sitl
./waf build
## Build autopilot application
cd src && cmake . && make