Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

How to install

Timo Hinzmann edited this page Jan 18, 2018 · 12 revisions

Description for Ubuntu 14.04 and ROS indigo. Analog for ROS jade, kinetic, and higher Ubuntu versions.

Install required system packages

sudo add-apt-repository "deb http://packages.ros.org/ros/ubuntu trusty main"
wget https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -O - | sudo apt-key add -
sudo apt-get update

sudo apt-get install ros-indigo-desktop-full doxygen python-setuptools git g++ cppcheck \
python-git python-wstool python-catkin-tools

# Optional, possibly helpful packages
sudo apt-get install nautilus-open-terminal synaptic vim 

Update ROS environment

sudo rosdep init
rosdep update
echo ". /opt/ros/indigo/setup.bash" >> ~/.bashrc
source ~/.bashrc

Install aerial_mapper

GDAL dependency (used to export orthomosaic as geotiff format):

sudo apt-get update
sudo apt-get install libgdal-dev

Curl dependency for Google Maps Api (used for visualization):

sudo apt-get update
sudo apt-get install libcurlpp-dev
sudo apt-get install libcurl4-openssl-dev

e.g. for Ubuntu 14.04, ROS indigo

mkdir -p ~/catkin_ws_aerial_mapper/src
cd catkin_ws_aerial_mapper
catkin init
catkin config --merge-devel # Necessary for catkin_tools >= 0.4.
catkin config --extend /opt/ros/indigo # Replace indigo by your ROS version
catkin config --cmake-args -DCMAKE_BUILD_TYPE=Release
cd src
wstool init
git clone [email protected]:ethz-asl/aerial_mapper.git
wstool merge aerial_mapper/install/dependencies.rosinstall
wstool update -j8

Then to compile:

catkin build aerial_mapper
Clone this wiki locally