We have tested the FlightGoggles ROS Client on Ubuntu 16.04 and Ubuntu 18.04 using ROS Kinetic and Melodic, respectively.

The FlightGoggles Renderer is installed separately from the Client and can run on Ubuntu or Windows.

Installing ROS

Install the appropriate ROS distribution for your system using the instructions for Kinetic or Melodic.

Installing the FlightGoggles ROS Client

Make a catkin_ws and change directory to it using

mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/

Initialize the workspace

catkin init

Add the workspace to your bashrc (optional)

echo 'source ~/catkin_ws/devel/setup.bash' >> ~/.bashrc

Change directory to src, initialize and update wstool.

cd src
wstool init
wstool merge https://raw.githubusercontent.com/mit-fast/FlightGoggles/master/flightgoggles.rosinstall
wstool update

Change directory back to the catkin_ws and install required libraries using rosdep

Replace ROSDISTRO with the distribution of ROS that you installed (Kinetic, Melodic etc).

cd ../
rosdep install --from-paths src --ignore-src --rosdistro kinetic -y

Install non-ROS libraries required for FlightGoggles

sudo apt install -y libzmqpp-dev libeigen3-dev

Build the catkin workspace

catkin build