This repo is a collection of GTSAM tutorial examples for GTSAM starters by Jing Dong. Checkout GTSAM tutorial slides for more explanations and infomation.
- CMake >= 2.6 (Ubuntu:
sudo apt-get install cmake
), compilation configuration tool. - Boost >= 1.50 (Ubuntu:
sudo apt-get install libboost-all-dev
), portable C++ source libraries. - GTSAM >= 4.0 alpha.
In the library folder excute:
$ mkdir build
$ cd build
$ cmake ..
$ make
An optional Matlab toolbox is provided to use our library in Matlab. To enable Matlab toolbox during compilation:
$ cmake -DEXAMPLES_BUILD_MATLAB_TOOLBOX:OPTION=ON -DGTSAM_TOOLBOX_INSTALL_PATH:PATH=/path/install/toolbox ..
$ make install
After you install the Matlab toolbox, don't forget to add /path/install/toolbox
to your Matlab path.
The gpmp2 library is designed to be cross-platform, however it's only tested on Ubuntu Linux for now.
- Compilers: GCC 4.8, 4.9, 5.3
- Boost version: 1.50 - 1.60