gtsam/examples
Stephen Williams 3dc3f93145 Removed references to the old nonlinear optimizer parameters from Matlab 2012-05-15 18:46:51 +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 Removed references to the old nonlinear optimizer parameters from Matlab 2012-05-15 18:46:51 +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 add .run targets for examples 2012-02-25 17:28:41 +00:00
CameraResectioning.cpp Updated examples and namespaces for the new NonlinearOptimizer interface 2012-05-14 20:25:20 +00:00
PlanarSLAMExample_easy.cpp Updated examples and namespaces for the new NonlinearOptimizer interface 2012-05-14 20:25:20 +00:00
PlanarSLAMSelfContained_advanced.cpp Updated examples to use the new Marginals interface 2012-05-15 00:15:11 +00:00
Pose2SLAMExample_advanced.cpp Updated examples to use the new Marginals interface 2012-05-15 00:15:11 +00:00
Pose2SLAMExample_easy.cpp Updated examples and namespaces for the new NonlinearOptimizer interface 2012-05-14 20:25:20 +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