Go to file
Varun Agrawal ff1f37c26f replaced fabs with c++11 std::abs 2019-09-18 18:30:26 -04:00
.github/ISSUE_TEMPLATE moved templates from .github to .github/ISSUE_TEMPLATE 2019-06-14 13:43:01 -04:00
.settings Merge remote-tracking branch 'origin/develop' into feature/Similarity 2015-01-23 08:10:21 -05:00
CppUnitLite Merge branch 'develop' of https://bitbucket.org/gtborg/gtsam into fix/trailing_whitespaces 2019-05-12 09:26:28 -04:00
cmake Merge pull request #85 from borglab/msvc-fixes 2019-07-19 07:42:51 +02:00
cython update to setup.py install check to account for build type 2019-06-17 16:36:50 -04:00
debian add Debian scripts 2019-07-11 00:53:18 +02:00
doc removed bdsk entries from bib file 2019-06-01 15:22:51 -04:00
docker/ubuntu-boost-tbb-eigen3 Trying bionic, again, with -j2 flag 2018-10-08 23:24:19 -04:00
examples Tightened odometry sigmas to avoid ILS 2019-06-11 20:42:54 -04:00
gtsam replaced fabs with c++11 std::abs 2019-09-18 18:30:26 -04:00
gtsam_unstable replaced fabs with c++11 std::abs 2019-09-18 18:30:26 -04:00
matlab Fixed at -> atPose2 2019-05-16 22:30:02 -04:00
package_scripts Generate PPA packages for Ubuntu 19.10 (eoan) 2019-08-14 02:35:50 +02:00
tests Fixed exception type for TBB path 2019-06-11 13:40:29 -04:00
timing Reducing errors in check* libraries when compiling 2019-07-15 20:19:00 -04:00
wrap updated tests to work with new wrap code generation 2019-07-10 15:56:32 -04:00
.cproject check.sam target 2015-07-13 23:44:08 -07:00
.gitignore cmake fixes 2019-05-19 11:30:48 -04:00
.project Fixed build command 2014-11-23 10:43:00 +01:00
.travis.sh Refactor build flags via CMake target properties 2019-06-15 23:09:54 +02:00
.travis.yml Excluded build that consistently times out 2019-06-15 11:13:56 -04:00
CMakeLists.txt Changes to get gtsam to compile in Windows 2019-07-11 13:55:12 +02:00
DEVELOP.md renamed all READMEs to README.md and updated markdown syntax 2019-06-13 17:26:07 -04:00
GTSAM-Concepts.md Added information about LieGroup helper class 2019-03-14 14:14:20 +00:00
INSTALL.md Merged in matt_broadway/gtsam/mkl_readme (pull request #382) 2019-05-17 04:49:54 +00:00
LICENSE Update LICENSE to enumerate all dependencies in gtsam/3rdparty 2019-01-02 13:29:46 -08:00
LICENSE.BSD Final cleanup of text files - README.md, LICENSE*, USAGE, and INSTALL. 2014-01-30 14:42:23 -05:00
README.md Updated build status link 2019-06-06 12:08:51 -04:00
THANKS.md make all top level docs as markdown files 2019-06-13 17:09:50 -04:00
USAGE.md renamed all READMEs to README.md and updated markdown syntax 2019-06-13 17:26:07 -04:00
Using-GTSAM-EXPORT.md Updated Using GTSAM_EXPORT document 2019-07-15 22:22:47 -04:00
gtsam.h deprecated SmartProjectionFactor constructor with offset 2019-08-08 11:53:05 -04:00
gtsam_extra.cmake.in Various fixes to cmake exported targets 2019-02-15 22:04:04 +01:00
makestats.sh Command line for generating svn stats, needs statsvn from statsvn.org 2012-06-11 14:31:32 +00:00
package.xml updated README to nicer Markdown, added links to papers for convenience, added code formatting, and updated ROS package version 2019-05-31 12:05:19 -04:00

README.md

Build Status

README - Georgia Tech Smoothing and Mapping library

What is GTSAM?

GTSAM is a library of C++ classes that implement smoothing and mapping (SAM) in robotics and vision, using factor graphs and Bayes networks as the underlying computing paradigm rather than sparse matrices.

On top of the C++ library, GTSAM includes a MATLAB interface (enable GTSAM_INSTALL_MATLAB_TOOLBOX in CMake to build it). A Python interface is under development.

Quickstart

In the root library folder execute:

#!bash
$ mkdir build
$ cd build
$ cmake ..
$ make check (optional, runs unit tests)
$ make install

Prerequisites:

  • Boost >= 1.43 (Ubuntu: sudo apt-get install libboost-all-dev)
  • CMake >= 3.0 (Ubuntu: sudo apt-get install cmake)
  • A modern compiler, i.e., at least gcc 4.7.3 on Linux.

Optional prerequisites - used automatically if findable by CMake:

GTSAM 4 Compatibility

GTSAM 4 will introduce several new features, most notably Expressions and a python toolbox. We will also deprecate some legacy functionality and wrongly named methods, but by default the flag GTSAM_ALLOW_DEPRECATED_SINCE_V4 is enabled, allowing anyone to just pull V4 and compile. To build the python toolbox, however, you will have to explicitly disable that flag.

Also, GTSAM 4 introduces traits, a C++ technique that allows optimizing with non-GTSAM types. That opens the door to retiring geometric types such as Point2 and Point3 to pure Eigen types, which we will also do. A significant change which will not trigger a compile error is that zero-initializing of Point2 and Point3 will be deprecated, so please be aware that this might render functions using their default constructor incorrect.

The Preintegrated IMU Factor

GTSAM includes a state of the art IMU handling scheme based on

  • Todd Lupton and Salah Sukkarieh, "Visual-Inertial-Aided Navigation for High-Dynamic Motion in Built Environments Without Initial Conditions", TRO, 28(1):61-76, 2012. [link]

Our implementation improves on this using integration on the manifold, as detailed in

  • Luca Carlone, Zsolt Kira, Chris Beall, Vadim Indelman, and Frank Dellaert, "Eliminating conditionally independent sets in factor graphs: a unifying perspective based on smart factors", Int. Conf. on Robotics and Automation (ICRA), 2014. [link]
  • Christian Forster, Luca Carlone, Frank Dellaert, and Davide Scaramuzza, "IMU Preintegration on Manifold for Efficient Visual-Inertial Maximum-a-Posteriori Estimation", Robotics: Science and Systems (RSS), 2015. [link]

If you are using the factor in academic work, please cite the publications above.

In GTSAM 4 a new and more efficient implementation, based on integrating on the NavState tangent space and detailed in docs/ImuFactor.pdf, is enabled by default. To switch to the RSS 2015 version, set the flag GTSAM_TANGENT_PREINTEGRATION to OFF.

Additional Information

There is a GTSAM users Google group for general discussion.

Read about important GTSAM-Concepts here. A primer on GTSAM Expressions, which support (superfast) automatic differentiation, can be found on the GTSAM wiki on BitBucket.

See the INSTALL file for more detailed installation instructions.

GTSAM is open source under the BSD license, see the LICENSE and LICENSE.BSD files.

Please see the examples/ directory and the USAGE file for examples on how to use GTSAM.

GTSAM was developed in the lab of Frank Dellaert at the Georgia Institute of Technology, with the help of many contributors over the years, see THANKS.