This is part of the video series "Getting Started with Drone Development". (Sponsored by Auterion)
Having a development environment (toolchain) that allows you to work with PX4 code is the essential initial setup as a PX4 developer. PX4 code can be developed on Linux, Mac OS, or Windows. In this tutorial, we will introduce how to setup for MacOS from dependencies to building, and running the simulator🚀
Terminal Commands:
brew tap PX4/px4
brew install px4-dev
pip3 install --user pyserial empy toml numpy pandas jinja2 pyyaml pyros-genmsg packaging
brew tap AdoptOpenJDK/openjdk
brew cask install adoptopenjdk14
brew install px4-sim-jmavsim
cd YourDirectory
git clone https://github.com/PX4/Firmware.git --recursive
cd Firmware
make px4_sitl jmavsim
commander takeoff
commander land
All other instructions can be found at https://dev.px4.io
Script and production by Brian Philips.