Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.5 KB

README.md

File metadata and controls

37 lines (28 loc) · 1.5 KB

Ignition Gazebo for MAVLink SITL and HITL

Build Tests

This is a Software-In-The-Loop/Hardware-In-The-Loop simulation environment for the PX4 autopilot project with Ignition Gazebo

Installation

Follow instructions on the official site to install Gazebo.

sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'
wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
apt update
apt install ignition-edifice

Running the simulation

The simulation can be run using the following command at the root of the PX4/PX4-Autopilot repository

make px4_sitl ignition

For more instructions when running the simulation with PX4, follow the documentation

Creation and install of debian package on Linux

This creates a debian package and installs the plugins to /usr/lib on Linux. To use this package you must add /usr/lib to IGN_GAZEBO_SYSTEM_PLUGIN_PATH.

mkdir build
cd build
cmake ..
make
cpack -G DEB
sudo dpkg -i *.deb