Splits installation instructions into ROS/non-ROS. (#1)

Adds missing ROS dependency to package.xml.
master
Damon Kohler 2016-08-03 16:27:48 +02:00 committed by GitHub
parent 269c28cb0c
commit a3fe3181e0
2 changed files with 10 additions and 14 deletions

View File

@ -5,10 +5,15 @@ mapping
([SLAM](http://en.wikipedia.org/wiki/Simultaneous_localization_and_mapping))
across multiple platforms and sensor configurations.
## Installation instructions
## Installation with ROS
For Ubuntu 14.04 (Trusty):
See https://github.com/googlecartographer/cartographer_ros
## Installation without ROS
On Ubuntu 14.04 (Trusty):
# Install the required libraries that are available as debs
sudo apt-get install \
g++ \
google-mock \
@ -23,8 +28,7 @@ For Ubuntu 14.04 (Trusty):
protobuf-compiler \
python-sphinx
Download, build and install Ceres:
# Build and install Ceres
git clone https://ceres-solver.googlesource.com/ceres-solver
cd ceres-solver
mkdir build && cd build
@ -32,17 +36,8 @@ Download, build and install Ceres:
make
sudo make install
Build Cartographer:
# Build Cartographer
cd cartographer
mkdir build && cd build
cmake .. -G Ninja
ninja
## Running with Velodyne data
apt-get install libpcap-dev
cd <somwhere>
git clone git@github.com:ros-drivers/velodyne.git
cd <catkin_ws>/src
ln -s <somewhere>/velodyne/velodyne* .

View File

@ -23,6 +23,7 @@
<run_depend>catkin</run_depend>
<buildtool_depend>cmake</buildtool_depend>
<build_depend>ceres_catkin</build_depend>
<export>
<build_type>cmake</build_type>