Go to file
Frank Dellaert eb447d28a1 Added symbol keys 2018-10-13 17:48:36 -04:00
.settings Merge remote-tracking branch 'origin/develop' into feature/Similarity 2015-01-23 08:10:21 -05:00
CppUnitLite [Fix] Rot3.ypr -> Rot3.Ypr 2016-02-18 21:51:43 -05:00
cmake Minor fix to select mkl libs based on tbb use 2018-01-12 16:08:02 -07:00
cython Fixed overloaded methods/constructors 2017-12-02 18:43:18 -08:00
doc Merged in feature/gtsam-tutorial (pull request #262) 2018-02-20 19:55:26 +00:00
docker/ubuntu-boost-tbb-eigen3 Trying bionic, again, with -j2 flag 2018-10-08 23:24:19 -04:00
examples Added symbol keys 2018-10-13 17:48:36 -04:00
gtsam After discussion with Andrei, a final version of logic, and new tests to check more cases. Tested with both typedef and old Point3 configs. 2018-10-13 12:18:25 -04:00
gtsam_unstable Merge develop into fix/Unit3 2018-10-12 23:40:20 -04:00
matlab Update calling convention for pre-integrated IMU measurements in IMUKittiExampleGps, fix scope problem in plot3DTrajectory and make sure that all accessed values are of type Pose3 2018-05-14 17:40:48 -07:00
package_scripts Merge branch 'develop' 2016-06-20 13:30:37 -04:00
python BackprojectFromCamera and some small fixes from Skydio 2018-05-11 15:13:14 -07:00
tests Solved overloading, cherry-picked from fix/isam2 branch 2018-10-08 21:51:20 -04:00
timing Replaced graph.push_back with graph.emplace_shared if needed. 2016-10-01 11:17:41 -04:00
wrap Catch exception by value 2018-10-08 22:54:48 -04:00
.cproject check.sam target 2015-07-13 23:44:08 -07:00
.gitignore Ignore VS code .env file 2018-09-29 00:06:31 -04:00
.project Fixed build command 2014-11-23 10:43:00 +01:00
CMakeLists.txt Similar to Matlab wrapper, CYTHON_TOOLBOX and POINTS_TO_VECTOR can't co-exist for now 2017-08-17 07:03:35 -04:00
DEVELOP Start a DEVELOP document and update INSTALL 2014-05-05 14:42:46 -04:00
GTSAM-Concepts.md Many small improvements, bug-fixes, and tests 2016-02-24 11:01:19 -08:00
INSTALL Start a DEVELOP document and update INSTALL 2014-05-05 14:42:46 -04:00
LICENSE As of SuiteSparse 4.5.6 CCOLAMD is now licensed under BSD-3! 2017-10-17 08:27:44 -07:00
LICENSE.BSD Final cleanup of text files - README.md, LICENSE*, USAGE, and INSTALL. 2014-01-30 14:42:23 -05:00
README.md Added Google groups link. 2018-06-11 22:29:02 +00:00
THANKS Adding Ellon to list of contributors. Very important :-) 2016-01-24 23:59:22 -05:00
USAGE.md Fixed some top-level files 2014-12-03 20:15:19 +01:00
bitbucket-pipelines.yml Trying bionic, again, with -j2 flag 2018-10-08 23:24:19 -04:00
gtsam.h remove some wrapping terms to fix toolbox compile 2018-06-19 01:00:20 -04:00
gtsam_extra.cmake.in move GTSAM_CYTHON_INSTALL_PATH to main CMakeLists. Set eigency install path in gtsam_extra.cmake so other non-gtsam projects can find. 2017-07-28 15:24:30 -04:00
gtsampy.h Deprecated some more methods 2016-02-08 15:16:11 -08:00
makestats.sh Command line for generating svn stats, needs statsvn from statsvn.org 2012-06-11 14:31:32 +00:00
package.xml Version numbers 2015-01-20 22:45:40 -05:00

README.md

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 >= 2.6 (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.

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.
  • 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.

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.