Install
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
Start the Simulator
cd Firmware
make px4_sitl jmavsim
commander takeoff
commander land
Issue and fix
I got this error when install
brew install px4-dev
Error: Formulae found in multiple taps:
* ardupilot/px4/px4-dev
* px4/px4/px4-dev
I run the following code to fix it:
brew untap ardupilot/px4
brew update