Skip to main content

Georgia Tech Smoothing And Mapping library

Project description

README - Georgia Tech Smoothing and Mapping Library

Important Note

As of Dec 2021, the develop branch is officially in "Pre 4.2" mode. A great new feature we will be adding in 4.2 is hybrid inference a la DCSLAM (Kevin Doherty et al) and we envision several API-breaking changes will happen in the discrete folder.

In addition, features deprecated in 4.1 will be removed. Please use the last 4.1.1 release if you need those features. However, most (not all, unfortunately) are easily converted and can be tracked down (in 4.1.1) by disabling the cmake flag GTSAM_ALLOW_DEPRECATED_SINCE_V42.

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.

The current support matrix is:

Platform Compiler Build Status
Ubuntu 18.04 gcc/clang Linux CI
macOS clang macOS CI
Windows MSVC Windows CI

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.65 (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_V42 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

If you're not sure about the file name format, learn more about wheel file names.

gtsam-4.2a3-cp39-cp39-manylinux2014_x86_64.whl (20.3 MB view details)

Uploaded CPython 3.9

gtsam-4.2a3-cp39-cp39-macosx_12_0_arm64.whl (18.8 MB view details)

Uploaded CPython 3.9macOS 12.0+ ARM64

gtsam-4.2a3-cp39-cp39-macosx_11_0_x86_64.whl (20.3 MB view details)

Uploaded CPython 3.9macOS 11.0+ x86-64

gtsam-4.2a3-cp38-cp38-manylinux2014_x86_64.whl (20.3 MB view details)

Uploaded CPython 3.8

gtsam-4.2a3-cp38-cp38-macosx_11_0_x86_64.whl (20.3 MB view details)

Uploaded CPython 3.8macOS 11.0+ x86-64

gtsam-4.2a3-cp38-cp38-macosx_10_15_x86_64.whl (20.4 MB view details)

Uploaded CPython 3.8macOS 10.15+ x86-64

gtsam-4.2a3-cp37-cp37m-manylinux2014_x86_64.whl (20.5 MB view details)

Uploaded CPython 3.7m

gtsam-4.2a3-cp36-cp36m-manylinux2014_x86_64.whl (20.5 MB view details)

Uploaded CPython 3.6m

File details

Details for the file gtsam-4.2a3-cp39-cp39-manylinux2014_x86_64.whl.

File metadata

  • Download URL: gtsam-4.2a3-cp39-cp39-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 20.3 MB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for gtsam-4.2a3-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 281fe354dc342c561886a04b83df18f91a9da65078801dbb438378c7793a199c
MD5 fbe0a1e0cb7276f28d69da667b0fccf6
BLAKE2b-256 806adbf84827c4e1b5c07f91f0c7cdeb7540349e999f573306cdb069832fa549

See more details on using hashes here.

File details

Details for the file gtsam-4.2a3-cp39-cp39-macosx_12_0_arm64.whl.

File metadata

  • Download URL: gtsam-4.2a3-cp39-cp39-macosx_12_0_arm64.whl
  • Upload date:
  • Size: 18.8 MB
  • Tags: CPython 3.9, macOS 12.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for gtsam-4.2a3-cp39-cp39-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 910e95ea8b850f5d03a5c36f1f6f614ffe369caf9a0397a3b39e4806f794748d
MD5 0a7f8ecb8f38029e42d888ba236fac16
BLAKE2b-256 4a6a5c8a29e2451f620c6334d0d407ba624e625acbbb7b8f1ffe8a6bd3e13069

See more details on using hashes here.

File details

Details for the file gtsam-4.2a3-cp39-cp39-macosx_11_0_x86_64.whl.

File metadata

  • Download URL: gtsam-4.2a3-cp39-cp39-macosx_11_0_x86_64.whl
  • Upload date:
  • Size: 20.3 MB
  • Tags: CPython 3.9, macOS 11.0+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for gtsam-4.2a3-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 909d014ddb8b6ebf2b2e8398115fea50713f9c0cc397607a409c73f166db3f16
MD5 7156c9b0f30410e9945a3cce24fc420a
BLAKE2b-256 66ba381fed3a3192064d954757a385ff5cc4daaba41ef3943a6e21be008a5bcf

See more details on using hashes here.

File details

Details for the file gtsam-4.2a3-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

  • Download URL: gtsam-4.2a3-cp38-cp38-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 20.3 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for gtsam-4.2a3-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b85be079f70e168b308e6ff9675f584d8e89aec441f7f51ff201d43540161826
MD5 7f8b14539646ee680890b39fbc405d0b
BLAKE2b-256 c4bbd705c289b2c968cb2628736a6583d22c1803571abad1a11ffdac9e2baf49

See more details on using hashes here.

File details

Details for the file gtsam-4.2a3-cp38-cp38-macosx_11_0_x86_64.whl.

File metadata

  • Download URL: gtsam-4.2a3-cp38-cp38-macosx_11_0_x86_64.whl
  • Upload date:
  • Size: 20.3 MB
  • Tags: CPython 3.8, macOS 11.0+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for gtsam-4.2a3-cp38-cp38-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 15de66ed034d4a10067c4808717a4ac76e99cff22752a2b8469f821cd4d7bf30
MD5 b2d9d55883d0e93e6d1c66240fdcaf4b
BLAKE2b-256 b674b96544186bfdb8af6f7f676d38825c1a4e1af7a356c969773c87c585e753

See more details on using hashes here.

File details

Details for the file gtsam-4.2a3-cp38-cp38-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: gtsam-4.2a3-cp38-cp38-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 20.4 MB
  • Tags: CPython 3.8, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for gtsam-4.2a3-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 c9ea1cfa1e3e8da9b7ee89b38c6159b3d3cb04c0e5aacecd22074f1daa61f94f
MD5 1a506967dc139352ab984ff6ae1b64cc
BLAKE2b-256 094a42061001b035108bd4345bb892d21cbf13da1268fefd1257933de65aeb6d

See more details on using hashes here.

File details

Details for the file gtsam-4.2a3-cp37-cp37m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: gtsam-4.2a3-cp37-cp37m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 20.5 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for gtsam-4.2a3-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dc00249363b408ec978ccbe3e2576ad4a35fa5d4b3ae85f82af2b5524842dc7f
MD5 8a638564dc312ada32157b922c3e18a1
BLAKE2b-256 b3e03abcf7e20703cd36b59bb15bd42f894982fdf8a97d031170304247cc1d42

See more details on using hashes here.

File details

Details for the file gtsam-4.2a3-cp36-cp36m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: gtsam-4.2a3-cp36-cp36m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 20.5 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for gtsam-4.2a3-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2808f2e12d1163e35c52f6990584cba455fa9b654d6a5bc56a59c5b622984b6c
MD5 1c0006063fbe0086d401ef29e867fef9
BLAKE2b-256 f1ee94e18a0142cbbe65caf73839c48d5123f03a7d4c90cccf46363353f31e32

See more details on using hashes here.

Supported by

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