Building PX4/Firmware
requires a bunch of tools that aren't actually used for firmware builds.
Sigh.
vi ~/.bash_profile
and add:
# Ensure user-installed binaries take precedence
export PATH=/usr/local/bin:$PATH
# Load .bashrc if it exists
test -f ~/.bashrc && source ~/.bashrc
Then:
source ~/.bash_profile
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# install multiple flavors of python
brew install cmake python python@2
brew cask install java
brew tap PX4/px4
brew install px4-dev
pip install pyserial empy toml numpy pandas jinja2 pyyaml
git submodule init
git submodule update
make px4_sitl none