Skip to content

installation local

varunmurali1 edited this page Apr 16, 2021 · 9 revisions

Installing FlightGoggles Simulation Framework on Local Machine

Installing the binary

Download the latest binary from Releases and extract the files.

Installing the client

# Setup catkin workspace
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/
catkin init
# Add workspace to bashrc.
echo 'source ~/catkin_ws/devel/setup.bash' >> ~/.bashrc
cd src
wstool init
# Install FlightGoggles nodes and deps from rosinstall file
wstool merge https://raw.githubusercontent.com/mit-fast/FlightGoggles/master/flightgoggles.rosinstall
wstool update
cd ../
# Install required libraries.
rosdep install --from-paths src --ignore-src --rosdistro kinetic -y
# Install external libraries for flightgoggles_ros_bridge
sudo apt install -y libzmqpp-dev libeigen3-dev
# Install dependencies for flightgoggles renderer
sudo apt install -y libvulkan1 vulkan-utils gdb
# Build nodes and download FlightGoggles renderer binary
# NOTE: to avoid downloading the FlightGoggles renderer binary, use the following build command:
catkin build --cmake-args -DFLIGHTGOGGLES_DOWNLOAD_BINARY=OFF
# Refresh workspace
source ~/.bashrc

Note: For AMD GPUs, mesa-vulkan-drivers might also need to be installed. This package should not be needed for usage on NVidia GPUs.