Skip to main content

Georgia Tech Smoothing And Mapping library

Project description

README - Georgia Tech Smoothing and Mapping Library

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

gtsam-4.0.3-1-py3-none-macosx_10_9_x86_64.whl (7.0 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

gtsam-4.0.3-1-cp38-cp38-manylinux2014_x86_64.whl (6.0 MB view details)

Uploaded CPython 3.8

gtsam-4.0.3-1-cp37-cp37m-manylinux2014_x86_64.whl (6.0 MB view details)

Uploaded CPython 3.7m

gtsam-4.0.3-1-cp36-cp36m-manylinux2014_x86_64.whl (6.0 MB view details)

Uploaded CPython 3.6m

gtsam-4.0.3-1-cp35-cp35m-manylinux2014_x86_64.whl (6.0 MB view details)

Uploaded CPython 3.5m

gtsam-4.0.3-1-cp27-cp27mu-manylinux2010_x86_64.whl (5.8 MB view details)

Uploaded CPython 2.7mumanylinux: glibc 2.12+ x86-64

File details

Details for the file gtsam-4.0.3-1-py3-none-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: gtsam-4.0.3-1-py3-none-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 7.0 MB
  • Tags: Python 3, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.1

File hashes

Hashes for gtsam-4.0.3-1-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 63e536fef869d6a6b80a9996bfd2b7f57e2e8af89d55883e409e05dee0639fd4
MD5 4de8a0541e2d27d4c7c1b03b19a6be8a
BLAKE2b-256 708c946809279b921893e7ad476e3aef6823f69e5e859f9381cd6c9024c31d8e

See more details on using hashes here.

File details

Details for the file gtsam-4.0.3-1-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

  • Download URL: gtsam-4.0.3-1-cp38-cp38-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 6.0 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for gtsam-4.0.3-1-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1c67cbd45a9a2e6bce25ebc6ea2babc06ebd21960480aa32418e569bf6502aea
MD5 ac0a82579072be380f7813887db5fae1
BLAKE2b-256 0720a479eea1e50061082436d2f3c39289b6dd1ff998a9fd8a1a8f18716ca029

See more details on using hashes here.

File details

Details for the file gtsam-4.0.3-1-cp37-cp37m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: gtsam-4.0.3-1-cp37-cp37m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 6.0 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for gtsam-4.0.3-1-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fda9a069c57787757c2c6105fbf35429e0cf174ef7a47129c9f8f1908dd2443b
MD5 a4a9dbf4b64b56e616c80c2a7ad1c356
BLAKE2b-256 12a0a0db8a17e167160d4e7447ba77ec716cdc99a89ccfb312aa7bb109a22460

See more details on using hashes here.

File details

Details for the file gtsam-4.0.3-1-cp36-cp36m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: gtsam-4.0.3-1-cp36-cp36m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 6.0 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for gtsam-4.0.3-1-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7b22340ff85b80ce5e19c8573e47457d85622d0d58a27f2f4b7396a466a4aa61
MD5 848f6d07b9cd401ec7de2a012fb23c0f
BLAKE2b-256 690c17e5c9ae5ac4556fdd03d755271f975264b17431f11e3232e089c2ff3be1

See more details on using hashes here.

File details

Details for the file gtsam-4.0.3-1-cp35-cp35m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: gtsam-4.0.3-1-cp35-cp35m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 6.0 MB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for gtsam-4.0.3-1-cp35-cp35m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 51b340c85ae16eab0b6cb523349a7b6a8dfd3e2a90ef7d9ab9715e27a174c07b
MD5 50596c794cbd55691101fd4c5605d335
BLAKE2b-256 6a836ba88c5b84e29663d3e4769eacc6e9cddc27615a26c52720e3ec954bc688

See more details on using hashes here.

File details

Details for the file gtsam-4.0.3-1-cp27-cp27mu-manylinux2010_x86_64.whl.

File metadata

  • Download URL: gtsam-4.0.3-1-cp27-cp27mu-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 5.8 MB
  • Tags: CPython 2.7mu, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for gtsam-4.0.3-1-cp27-cp27mu-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 da5918b83c309b8837c004f305c0f0480de6dd87aabf3b6dddb7dbc6c891865a
MD5 4392c8069fa137ba765c1cdcdb1e19e3
BLAKE2b-256 0bb72d05b31c73af9886f56369c0d7a1099db945622ab814a5cea411a6e7033e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page