Skip to content

UAV Setup Guides (QUTAS Flight Stack)

pryre edited this page Apr 8, 2019 · 24 revisions

QUTAS Flight Stack

The QUTAS Flight Stack (QFS) is comprised of the following software:

Base Packages (qfs_base)
Visualization Packages (qfs_viz)
Flight Control Packages (qfs_fc)
Simulator Packages (qfs_sim)
Extension Packages (qfs_extra)
Example Packages (qfs_example)

Prerequisites

Before continuing, make sure you have done the following steps:

  • Installed ROS correctly and are able to run roscore successfully (refer here).
  • Set up a catkin workspace (refer here).
  • Installed wstool:
sudo apt-get install python-wstool
  • Installed the QFS supporting packages:
sudo apt-get install ros-kinetic-mavros-msgs

Setup

First we need to prepare the workspace:

mkdir -p ~/catkin_ws
cd ~/catkin_ws

wstool init src

Next, we download the QFS definitions as listed in the headings above. If you are returning to add more packages, you would start at this step). To add the Base Packages (qfs_base) to the workspace (repeat for all desired package groups):

cd ~/catkin_ws/
QFS_PACKAGE=qfs_base
curl https://raw.githubusercontent.com/qutas/info/master/Stack/$QFS_PACKAGE.rosinstall > /tmp/$QFS_PACKAGE.rosinstall
wstool merge -t src /tmp/$QFS_PACKAGE.rosinstall

Once you are happy with the added packages, we update and rebuild the workspace:

cd ~/catkin_ws/
wstool update -t src
catkin_make

Finally, if you have added any rqt packages that do not show up in the plugin list, you may need start rqt once with this command instead:

rqt --force-discover

With the flight stack set up, you should check out some of the links in the package listing for more information. If you are here for the first time, or just want to try out a demonstration, it is recommended that you take a look at one of the simulator packages.


Note: The steps that you have completed will have downloaded and updated the packages to their latest versions, and also compiled the packages. You will not have to repeat these steps when looking at the individual packages, and can simply jump straight to the "how to run" examples.


Clone this wiki locally