gtsam/examples
Yong-Dian Jian ace4327897 reorg the nonlinear/linear parameters to accommodate the iterative solvers 2012-05-25 15:26:30 +00:00
..
Data updated visual SLAM examples to follow correct coordinate system conventions. The ISAM example now also uses the same input files as the general SFM example. 2011-12-12 03:57:48 +00:00
matlab Plot covariance ellipses in MATLAB 2012-05-23 12:35:48 +00:00
vSLAMexample Renamed derived optimizer verbosity parameters to start with 'verbosity' to make more auto-complete friendly 2012-05-15 13:33:32 +00:00
CMakeLists.txt Added a flag to optionally remove examples from "all" target 2012-05-19 02:21:21 +00:00
CameraResectioning.cpp Added clone() functionality to nonlinear factors 2012-05-21 20:54:40 +00:00
LocalizationExample.cpp Added marginals in MATLAB, but had to fix a bug in converting from 64 bit ints to size_t. This begs the question what happens on 32-bit machines with Symbols. 2012-05-22 19:01:40 +00:00
LocalizationExample2.cpp Fixed optimizer/marginals confusion 2012-05-21 21:52:50 +00:00
PlanarSLAMExample_easy.cpp Cleaned up planar SLAM example and created new Localization example 2012-05-20 20:31:33 +00:00
PlanarSLAMSelfContained_advanced.cpp reorg the nonlinear/linear parameters to accommodate the iterative solvers 2012-05-25 15:26:30 +00:00
Pose2SLAMExample_advanced.cpp Updated examples to use the new Marginals interface 2012-05-15 00:15:11 +00:00
Pose2SLAMExample_easy.cpp More complex Pose2SLAM example, synced up with manual (in progress) 2012-05-22 04:31:05 +00:00
Pose2SLAMwSPCG_advanced.cpp (2.0_prep branch) Merged in virtual_values branch 2012-02-03 17:18:32 +00:00
Pose2SLAMwSPCG_easy.cpp (2.0_prep branch) Merged in virtual_values branch 2012-02-03 17:18:32 +00:00
README UGM (undirected graphical model) example, small, see http://www.di.ens.fr/~mschmidt/Software/UGM/small.html 2012-05-03 05:09:22 +00:00
SimpleRotation.cpp Updated examples and namespaces for the new NonlinearOptimizer interface 2012-05-14 20:25:20 +00:00
UGM_small.cpp UGM (undirected graphical model) example, small, see http://www.di.ens.fr/~mschmidt/Software/UGM/small.html 2012-05-03 05:09:22 +00:00
easyPoint2KalmanFilter.cpp All unit tests pass with nonlinear factors templated on value instead of key 2012-02-07 04:02:20 +00:00
elaboratePoint2KalmanFilter.cpp Removed LDL in favor of Cholesky 2012-05-15 15:49:14 +00:00

README

This directory contains a number of exapmples that illustrate the use of GTSAM:

SimpleRotation:  a super-simple example of optimizing a single rotation according to a single prior

Kalman Filter Examples
======================
elaboratePoint2KalmanFilter: simple linear Kalman filter on a moving 2D point, but done using factor graphs
easyPoint2KalmanFilter: uses the cool generic templated Kalman filter class to do the same
fullStateKalmanFilter: simple 1D example with a full-state filter
errorStateKalmanFilter: simple 1D example of a moving target measured by a accelerometer, incl. drift-rate bias

2D Pose SLAM 
============
Pose2SLAMExample_easy: A 2D Pose SLAM example using the predefined typedefs in gtsam/slam/pose2SLAM.h
Pose2SLAMExample_advanced: same, but uses an Optimizer object
Pose2SLAMwSPCG_easy: solve a simple 3 by 3 grid of Pose2 SLAM problem by using easy SPCG interface
Pose2SLAMwSPCG_advanced: solve a simple 3 by 3 grid of Pose2 SLAM problem by using advanced SPCG interface

Planar SLAM with landmarks
==========================
PlanarSLAMExample: simple robotics example using the pre-built planar SLAM domain
PlanarSLAMSelfContained_advanced: simple robotics example with all typedefs internal to this script.

Visual SLAM
===========
The directory vSLAMexample includes 2 simple examples using GTSAM:
- vSFMexample using visualSLAM in for structure-from-motion (SFM), and
- vISAMexample using visualSLAM and ISAM for incremental SLAM updates
See the separate README file there.

Undirected Graphical Models (UGM)
=================================
The best representation for a Markov Random Field is a factor graph :-)
This is illustrated with some discrete examples from the UGM MATLAB toolbox, which
can be found at http://www.di.ens.fr/~mschmidt/Software/UGM