2014-01-04 15:54:22 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								README - Georgia Tech Smoothing and Mapping library
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								===================================================
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-31 03:42:23 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								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.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-04 15:54:22 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Quickstart
							 
						 
					
						
							
								
									
										
										
										
											2014-01-31 03:42:23 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								----------
							 
						 
					
						
							
								
									
										
										
										
											2014-01-04 15:54:22 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								In the root library folder execute:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								#!bash
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								$ mkdir build
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								$ cd build
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								$ cmake ..
							 
						 
					
						
							
								
									
										
										
										
											2014-01-04 16:15:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								$ make check (optional, runs unit tests)
							 
						 
					
						
							
								
									
										
										
										
											2014-01-04 15:54:22 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								$ make install
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-04 16:15:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Prerequisites:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  [Boost ](http://www.boost.org/users/download/ ) >= 1.43 (Ubuntu: `sudo apt-get install libboost-all-dev` ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  [CMake ](http://www.cmake.org/cmake/resources/software.html ) >= 2.6 (Ubuntu: `sudo apt-get install cmake` ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Optional prerequisites - used automatically if findable by CMake:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  [Intel Threaded Building Blocks (TBB) ](http://www.threadingbuildingblocks.org/ ) (Ubuntu: `sudo apt-get install libtbb-dev` ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  [Intel Math Kernel Library (MKL) ](http://software.intel.com/en-us/intel-mkl ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-31 03:42:23 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Additional Information
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								----------------------
							 
						 
					
						
							
								
									
										
										
										
											2014-01-04 16:15:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-31 04:13:13 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								See the [`INSTALL` ](https://bitbucket.org/gtborg/gtsam/src/develop/INSTALL ) file for more detailed installation instructions.
							 
						 
					
						
							
								
									
										
										
										
											2014-01-04 15:54:22 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-31 04:37:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								GTSAM is open source under the BSD license, see the [`LICENSE` ](https://bitbucket.org/gtborg/gtsam/src/develop/LICENSE ) and [`LICENSE.BSD` ](https://bitbucket.org/gtborg/gtsam/src/develop/LICENSE.BSD ) files.
							 
						 
					
						
							
								
									
										
										
										
											2014-01-04 15:54:22 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-31 04:13:13 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Please see the [`examples/` ](https://bitbucket.org/gtborg/gtsam/src/develop/examples ) directory and the [`USAGE` ](https://bitbucket.org/gtborg/gtsam/src/develop/USAGE ) file for examples on how to use GTSAM.