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.

There is a flag GTSAM_ALLOW_DEPRECATED_SINCE_V42 for newly deprecated methods since the 4.2 release, which is on by default, allowing anyone to just pull version 4.2 and compile.

Wrappers

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

Citation

If you are using GTSAM for academic work, please use the following citation:

@software{gtsam,
  author       = {Frank Dellaert and GTSAM Contributors},
  title        = {borglab/gtsam},
  month        = May,
  year         = 2022,
  publisher    = {Georgia Tech Borg Lab},
  version      = {4.2a8},
  doi          = {10.5281/zenodo.5794541},
  url          = {https://github.com/borglab/gtsam)}}
}

To cite the Factor Graphs for Robot Perception book, please use:

@book{factor_graphs_for_robot_perception,
    author={Frank Dellaert and Michael Kaess},
    year={2017},
    title={Factor Graphs for Robot Perception},
    publisher={Foundations and Trends in Robotics, Vol. 6},
    url={http://www.cs.cmu.edu/~kaess/pub/Dellaert17fnt.pdf}
}

If you are using the IMU preintegration scheme, please cite:

@book{imu_preintegration,
    author={Christian Forster and Luca Carlone and Frank Dellaert and Davide Scaramuzza},
    title={IMU preintegration on Manifold for Efficient Visual-Inertial Maximum-a-Posteriori Estimation},
    year={2015}
}

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.2.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (22.3 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

gtsam-4.2.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (21.4 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

gtsam-4.2.1-cp314-cp314-macosx_11_0_arm64.whl (19.9 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

gtsam-4.2.1-cp314-cp314-macosx_10_15_x86_64.whl (21.6 MB view details)

Uploaded CPython 3.14macOS 10.15+ x86-64

gtsam-4.2.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (22.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

gtsam-4.2.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (21.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

gtsam-4.2.1-cp313-cp313-macosx_11_0_arm64.whl (19.9 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

gtsam-4.2.1-cp313-cp313-macosx_10_15_x86_64.whl (21.7 MB view details)

Uploaded CPython 3.13macOS 10.15+ x86-64

gtsam-4.2.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (22.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

gtsam-4.2.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (21.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

gtsam-4.2.1-cp312-cp312-macosx_11_0_arm64.whl (19.9 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

gtsam-4.2.1-cp312-cp312-macosx_10_15_x86_64.whl (21.7 MB view details)

Uploaded CPython 3.12macOS 10.15+ x86-64

gtsam-4.2.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (22.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

gtsam-4.2.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (21.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

gtsam-4.2.1-cp311-cp311-macosx_11_0_arm64.whl (19.9 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

gtsam-4.2.1-cp311-cp311-macosx_10_15_x86_64.whl (21.6 MB view details)

Uploaded CPython 3.11macOS 10.15+ x86-64

File details

Details for the file gtsam-4.2.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for gtsam-4.2.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 5c3a96050a688a4909708532709f564259893bf89970b3d14e3040249bf275b4
MD5 380fe061c18ee8a0744389a07ed58e9b
BLAKE2b-256 3a02f8a7399c7aba47d207c1fb51acd6d07bba6aedfb12bd2282574f799edf6a

See more details on using hashes here.

File details

Details for the file gtsam-4.2.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for gtsam-4.2.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 419c2e8242f87605e37576727de74a8c31c9f7ed4f20d5fab05a211086336089
MD5 59cb644c768ceaf41a238e4564dc281a
BLAKE2b-256 556442e6a542fccc5d175c7eb081141d4b10730ebe45d611b5ac392a1184aae9

See more details on using hashes here.

File details

Details for the file gtsam-4.2.1-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for gtsam-4.2.1-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 06954ef6adcdfd99250dd91bd7515d99ed31273c9bfdc0b99cef81812131d5db
MD5 0ea1d9c2ec55298e915a281609bba8e0
BLAKE2b-256 86d7c4a881223d8ae4083201b13b4900cc5e347293f71b7171a0e56c18502f78

See more details on using hashes here.

File details

Details for the file gtsam-4.2.1-cp314-cp314-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for gtsam-4.2.1-cp314-cp314-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 2a881983d3dd84741894adf68bf5a3595be2d16e0fbc8c373a34436b88d33f3f
MD5 4e181c8e8dd4d79ca516aaacdc18740d
BLAKE2b-256 bd96c42474eafcb7ad58974ef0b0e17057ad4af8da842f1bebf37a569f92437c

See more details on using hashes here.

File details

Details for the file gtsam-4.2.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for gtsam-4.2.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 597b3493268cf470bfa5b6678947e7313c5768df57946f84d7a786a9b3478bfa
MD5 e8ebf268c48f6e2d6367aad4320b445c
BLAKE2b-256 1e1dac5d7f6615f4d53b41af461daf4b3ce6f4d76303404419ff53d241ad8a78

See more details on using hashes here.

File details

Details for the file gtsam-4.2.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for gtsam-4.2.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 c86674848a011a67a1126ed75c1247924da19767c3cfe4cd419041a6bb117af6
MD5 a45117f23e703567257afc80354ba9b8
BLAKE2b-256 582798511e7280f32597708ce59054491bc140eaac159ac27094c1c6ddcc1272

See more details on using hashes here.

File details

Details for the file gtsam-4.2.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for gtsam-4.2.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d7e680d947e97bdc916b709cd7a34d095f0bf82e472c68a9670f8db10fbc9748
MD5 ea4a7c1a526c3657e59a30ecba90cf27
BLAKE2b-256 bf92625f86279c6695eddf8dae6eea1b11ec4e39679f32080b80b48fa2792b5d

See more details on using hashes here.

File details

Details for the file gtsam-4.2.1-cp313-cp313-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for gtsam-4.2.1-cp313-cp313-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 cf221f24e4be67d5eea038027e9a369c124aecddfcb5264236b65b734a94a57e
MD5 c3ad0812938330bc6cf8ac439b85cb11
BLAKE2b-256 ff2312bc8e6369432934d55eb2afcf7935d193ad7be7d6d0b8f0c48a57c404ca

See more details on using hashes here.

File details

Details for the file gtsam-4.2.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for gtsam-4.2.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 ee9a6a0069f2b3e2a0c84d247bf04653e3f82062d4b5a9c6f7b0d39a5bac9d9a
MD5 810049aa551457ad9d4dbedd9e0bc7f3
BLAKE2b-256 b62c09995a753a3c7427820768ec4c237a0d678d16f61e6c5f9c75b32831f385

See more details on using hashes here.

File details

Details for the file gtsam-4.2.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for gtsam-4.2.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 867af7de5d4f12dafef77440698279c2337a8e0dd0337d7994eb9b088f52cefa
MD5 ee7f81422139277ea84ae8426ebc2247
BLAKE2b-256 158f894b0693661ca69b8e8b2fa5fdb157a454b6f0d5e5d7c8ce9578c79f0f33

See more details on using hashes here.

File details

Details for the file gtsam-4.2.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for gtsam-4.2.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 90e3d2a0b541441b4df62ef86ab5a298f8ddf9589f52caf11e3135c26d97cee9
MD5 25d46f7026877d76f0e83d5bf86e6a8b
BLAKE2b-256 121407940e487f404ce3e3dc5c72406ed8f01e81b74ccbd46760464adc7d0bb7

See more details on using hashes here.

File details

Details for the file gtsam-4.2.1-cp312-cp312-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for gtsam-4.2.1-cp312-cp312-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 a7bede091511fcaf1f5cb5706e02714782d4b61309d297f45075bcb1d0e9977d
MD5 f696c692add91a02a3f297d5248436cb
BLAKE2b-256 6fe96d269b8d70b6016e1bd552741794e099728402a854a573443ec2780faddb

See more details on using hashes here.

File details

Details for the file gtsam-4.2.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for gtsam-4.2.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 4e469d955a03a6e55b7136a3a99d59444370e74135ea917da9a756d99fb3461f
MD5 db7b5d4d1fbbdeb69d3f494a6d25799e
BLAKE2b-256 049537e6c9bc64795af7c7becd45e4cff55ee5d7bedd2fcd6a87f94082f3228a

See more details on using hashes here.

File details

Details for the file gtsam-4.2.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for gtsam-4.2.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 9425d0d27e7dc6bb9639136ecd8b129f8a2591617c9074498f1b4dd984af514f
MD5 5c947275a6a1d92ba81fa63a0e34cd97
BLAKE2b-256 9490f40ce79d2005d39995b34a93538b058506434502ca735d74ee279ca64b52

See more details on using hashes here.

File details

Details for the file gtsam-4.2.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for gtsam-4.2.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ace2a285b877d912b15002cdb069c83507946b7d44616a7f97e8255523e78ad7
MD5 f7dbcf258bba3b881ca19a25118d044e
BLAKE2b-256 05d7b55a6d070e21570867f7b89abc18d2de3ba1d0074d9619712bce0ba33d80

See more details on using hashes here.

File details

Details for the file gtsam-4.2.1-cp311-cp311-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for gtsam-4.2.1-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 95a9d2632bddbf8f476a50150180edf1f6611a19e1891f4dddc904421701102a
MD5 9866d5c8c679469a17c7a0290ccc5a5c
BLAKE2b-256 5c81abbe1246a00e5128936317ca08f03061099582bc2c1c79fb30fc935552bc

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