Go to file
Frank Dellaert 9326bc1ce6
Update README.md
2020-08-02 16:23:50 -04:00
.github Update trigger-python.yml 2020-06-09 17:45:20 -04:00
.settings Merge remote-tracking branch 'origin/develop' into feature/Similarity 2015-01-23 08:10:21 -05:00
CppUnitLite Fix all new gcc warnings/errors: make explicit virtual/override methods. 2020-07-26 11:20:42 +02:00
cmake remove leftover cmake debug trace 2020-07-27 00:16:28 +02:00
cython added axis labels and figure titles as optional params 2020-07-24 09:43:37 -05:00
doc change doc 2020-07-13 02:01:40 -04:00
docker complete README 2020-07-14 23:33:25 +02:00
examples Fix all new gcc warnings/errors: make explicit virtual/override methods. 2020-07-26 11:20:42 +02:00
gtsam Merge pull request #422 from borglab/dellaert/issue420 2020-08-02 16:16:01 -04:00
gtsam_unstable Merge pull request #422 from borglab/dellaert/issue420 2020-08-02 16:16:01 -04:00
matlab Merge branch 'develop' into feature/python-plotting 2020-03-25 19:06:17 -04:00
tests Merge branch 'develop' into dellaert/issue420 2020-07-31 16:45:03 -04:00
timing Allow to pass in pre-computed generators. Should save some energy. 2020-08-01 15:43:55 -04:00
wrap Fix warnings on incorrect for range reference bindings 2020-07-27 00:14:18 +02: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.python.sh Replaced flag with 4.1 version 2020-07-22 17:32:07 -04:00
.travis.sh Replaced flag with 4.1 version 2020-07-22 17:32:07 -04:00
.travis.yml Merge branch 'develop' into dellaert/issue420 2020-07-31 16:45:03 -04:00
CMakeLists.txt Improved comment 2020-07-24 15:38:44 -04:00
DEVELOP.md renamed all READMEs to README.md and updated markdown syntax 2019-06-13 17:26:07 -04:00
GTSAM-Concepts.md Fixed conventions for Jacobians 2020-07-21 11:04:36 -04: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 Update README.md 2020-08-02 16:23:50 -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
appveyor.yml Bump version and switch Pose3 expmap default 2020-07-21 18:15:00 -04:00
gtsam.h Allow graph to be queried 2020-08-01 15:40:50 -04:00
gtsam_extra.cmake.in export cython install path so it can be picked up by other cmake projects 2020-06-22 16:47:37 -05:00
makestats.sh Command line for generating svn stats, needs statsvn from statsvn.org 2012-06-11 14:31:32 +00:00
package.xml also update gtsam version in ROS package.xml 2019-12-03 13:41:37 +01:00

README.md

README - Georgia Tech Smoothing and Mapping Library

As of August 1, develop is officially in "Pre 4.1" mode, and features deprecated in 4.0 were removed. Use the last 4.0.3 release if you need those features. However, most are easily converted and can be tracked down (in 4.0.3) by disabling the cmake flag GTSAM_ALLOW_DEPRECATED_SINCE_V4

What is GTSAM?

GTSAM is a C++ library that implements smoothing and mapping (SAM) in robotics and vision, using Factor Graphs and Bayes Networks as the underlying computing paradigm rather than sparse matrices.

Platform Build Status
gcc/clang Build Status
MSVC Build status

On top of the C++ library, GTSAM includes wrappers for MATLAB & Python.

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 introduces several new features, most notably Expressions and a Python toolbox. It also 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 also do. A significant change which will not trigger a compile error is that zero-initializing of Point2 and Point3 is deprecated, so please be aware that this might render functions using their default constructor incorrect.

GTSAM 4 also deprecated some legacy functionality and wrongly named methods. If you are on a 4.0.X release, you can define the flag GTSAM_ALLOW_DEPRECATED_SINCE_V4 to use the deprecated methods.

GTSAM 4.1 added a new pybind wrapper, and removed the deprecated functionality. There is a flag GTSAM_ALLOW_DEPRECATED_SINCE_V41 for newly deprecated methods since the 4.1 release, which is on by default, allowing anyone to just pull version 4.1 and compile.

Wrappers

We provide support for MATLAB and Python wrappers for GTSAM. Please refer to the linked documents for more details.

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 this document, 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.