Mac OS
Install the Toolchain
Run these commands to install the toolchain
Mac OS Terminal
PX4$
/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)”
PX4$
brew tap PX4/px4
PX4$
brew install px4-dev
PX4$
brew install python3
PX4$
pip3 install –user pyserial empy toml numpy pandas jinja2 pyyaml pyros-genmsg packaging
PX4$
brew install –cask xquartz
PX4$
brew install px4-sim-gazebo
PX4$
git clone https://github.com/PX4/PX4-Autopilot.git –recursive
PX4$
cd PX4-Autopilot
Launch a drone simulator
Run this commands to launch the simulator
Mac OS Terminal
PX4$
make px4_sitl gazebo
Take-off/land the drone
Run this commands to take-off/land the drone
Mac OS Terminal
PX4$
commander takeoff
Analyze data from flight
Import file to PX4 Flight Review located in:
Mac OS Terminal
PX4$
cd build/px4_sitl_default/tmp/rootfs/log/{date}