SITL Testing For Linux

SITL Testing For Linux

The following instructions have been tested on Ubuntu 16.04.

Note: It is possible to run the simulation in a virtualized environment such as VirtualBox but the 3D simulation might not work unless you have proper 3D support in the virtualized environment.

  1. Install Gazebo7
    sudo sh -c 'echo "deb `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'
    wget -O - | sudo apt-key add -
    sudo apt-get update
    sudo apt-get install gazebo7 libgazebo7-dev


  2. Download the zip file containing the SITL simulation package for Linux.

  3. Run the simulation

    • Use the included bash script to start the simulation environment.

      cd Yuneec-SITL-simulation-Linux/


    • If you want to use it without the 3D simulator, use:

      HEADLESS=1 ./typhoon_sitl.bash
    • To test if the simulation works, type the following commands in the pxh> shell.

      • commander takeoff
      • commander land