Commit Graph

333 Commits (b9602ee49b086c81919cb15476803118d87df639)

Author SHA1 Message Date
Richard Roberts 96fc5991db Automatic removal of unused variables in iSAM2 working in unit tests! 2012-06-30 22:32:49 +00:00
Richard Roberts 86f19362ab Return FastSet instead of std::set from NonlinearFactorGraph::keys() 2012-06-30 22:32:46 +00:00
Richard Roberts f06c7ad2e9 Lots of code de-duplication and cleanup in testGaussianISAM2 2012-06-30 22:32:42 +00:00
Richard Roberts abd6795f5b In progress removing variables from iSAM2 2012-06-30 19:17:54 +00:00
Richard Roberts 57ca7d77db Removed Permuted views to simplify a lot of code - all objects that need to be permuted now have their data rearranged instead of using the "Permuted" indirection class. 2012-06-30 01:45:21 +00:00
Richard Roberts c443ccbedd More adding of static to avoid naming conflicts in unit tests 2012-06-30 01:44:00 +00:00
Stephen Williams c7ff913f64 Added yet another configuration parameter to iSAM2. 'enablePartialRelinearizationCheck' checks variables for relinearization by descending the Bayes tree. Once a variable does not need to be relinearized, we stop checking that branch. A full check is still the default. 2012-06-28 20:46:53 +00:00
Alex Cunningham 4e2aae0121 formatting of comments, added parent() interface for Bayes Tree cliques 2012-06-26 18:49:30 +00:00
Frank Dellaert 1bf3ae51a9 Fixed make check compile error 2012-06-24 14:49:52 +00:00
Frank Dellaert 2d0ce1c3ca Streamlining of SLAM namespaces:
planarSLAM Values and Graph now derive from Pose3SLAM. 
visualSLAM Values and Graph now derive from pose3SLAM.
Several methods have been renamed to make them consistent through these 4 namespaces:
addPrior -> addPosePrior
addHardConstraint -> addPoseConstraint
addOdometry/addConstraint -> addRelativePose
All gtsam and matlab examples/tests run.
PS: please don't use the deprecated typedefs in these namespaces.
2012-06-24 02:48:12 +00:00
Frank Dellaert 0fe2d527f9 Fixed warnings due to discrete. GTSAM now Wall-safe? 2012-06-22 21:45:36 +00:00
Duy-Nguyen Ta 6f1ea87a00 clean up noise model: Remove Shared[NoiseModel] classes and headers, typedef for backward compatibility in NoiseModel.h. Fix all tests and examples to create shared noise models through static functions in noise model classes. Fix MATLAB wrapper and examples as well. Add tests for MATLAB examples 2012-06-22 19:36:49 +00:00
Stephen Williams 94a769a447 Created derived classes for SymbolicSequentialSolver and SymbolicMultifrontalSolver. This simplifies calling eliminate, mimics the Gaussian versions, and makes matlab wrapping possible. 2012-06-21 22:31:41 +00:00
Alex Cunningham 8789201822 Added mechanism to create a constrained ordering directly from a NonlinearFactorGraph 2012-06-20 01:35:42 +00:00
Yong-Dian Jian 9cb903fe08 1. remove a redundant constructor of PinholeCamera
2. remove a "backproject_from_camera" function from PinholeCamera, please use "backproject" directly
2012-06-19 15:28:22 +00:00
Richard Roberts d57fc32e74 To simplify FactorGraph, removed convertCastFactors and dynamicCastFactors from FactorGraph - replaced their calls with in-place code to do the needed conversions 2012-06-18 14:55:30 +00:00
Yong-Dian Jian cee80c1938 add a generic nonlinear cg solver 2012-06-13 01:21:10 +00:00
Yong-Dian Jian 8687e1293c disable error msg 2012-06-12 14:20:08 +00:00
Yong-Dian Jian 6fd2ac7f86 move iterative.* back to stable. add a template-style nonlinear iterative solver 2012-06-12 14:19:01 +00:00
Yong-Dian Jian 83dc580220 add a nonlinear gradient-descent optimizer, and a unit test.
todo: 1. test wolfe condition or armijo rule, 2. use iterative.h
2012-06-11 22:10:23 +00:00
Richard Roberts 3be4be9039 Moved "bigobj" MSVC compile flag to affect testSerializationSLAM 2012-06-11 14:50:22 +00:00
Frank Dellaert 80e2179a8d Cleaned up typedefs in FactorGraph.h (and removed FactorizationResult), and also made sure ::shared_ptr was never assumed to exist for a FACTOR template argument. Should it exist, ever? 2012-06-09 21:33:10 +00:00
Alex Cunningham b602e75a99 Removed the use of the ADD_CLONE_NONLINEAR_FACTOR macro, documented instances of clone() in factors 2012-06-09 21:06:06 +00:00
Alex Cunningham 3d2c3aff05 Moved all Simulated* example domains and smallExample to the tests folder so they are no longer installed 2012-06-09 20:15:44 +00:00
Alex Cunningham f45c236585 Isolated exception case for use of Symbol.key(), removed use of Symbol in several tests. Removed "using namespace xxx" in header 2012-06-09 19:17:15 +00:00
Frank Dellaert dc879fe280 Moved testSubgraphPreconditioner from experimental back to linear/tests, though most of it is commented out, mostly because of JacobianFactorGraph - GaussianFactorGraph distinction 2012-06-09 18:54:47 +00:00
Frank Dellaert 54bfe722ad Returning ordering from planarGraph is obsolete since Index change 2012-06-09 18:52:22 +00:00
Alex Cunningham d70622abe0 Rearranged matlab folders to avoid calling utility functions "examples" 2012-06-07 20:09:54 +00:00
Alex Cunningham 8bfe8571bc Removed template argument from NonlinearISAM, now just uses NonlinearFactorGraph 2012-06-07 17:45:05 +00:00
Yong-Dian Jian a9c36fc172 move linear algebra functions for jacobian factor graph to a new file 2012-06-07 01:24:19 +00:00
Alex Cunningham ad3b431c4d Moved building of wrap libraries to a cmake macro and moved install for matlab components to the appropriate folder 2012-06-05 18:05:00 +00:00
Richard Roberts bef45d5b7b Merged from branch 'branches/windows' 2012-06-05 14:09:58 +00:00
Frank Dellaert 10d6157d1d formatting/naming only 2012-06-05 13:29:04 +00:00
Richard Roberts 6b1e862688 Fix errors 2012-06-04 18:46:05 +00:00
Richard Roberts 9c8377f476 Merge remote-tracking branch 'svn/trunk' into windows
Conflicts:
	examples/Pose2SLAMExample.cpp
	examples/vSLAMexample/CMakeLists.txt
	examples/vSLAMexample/vISAMexample.cpp
	gtsam/nonlinear/ISAM2-impl.cpp
	gtsam/slam/pose2SLAM.cpp
	gtsam/slam/tests/testGeneralSFMFactor.cpp
	gtsam/slam/tests/testGeneralSFMFactor_Cal3Bundler.cpp
	gtsam/slam/tests/testPlanarSLAM.cpp
	gtsam/slam/tests/testPose2SLAM.cpp
	tests/testDoglegOptimizer.cpp
	tests/testGraph.cpp
2012-06-04 14:13:37 +00:00
Frank Dellaert f924d01bc3 Synchronized mixed case naming 2012-06-03 05:25:05 +00:00
Frank Dellaert 8440939f27 Using symbol_shorthand instead of redundant kx, kl functions 2012-06-02 19:28:21 +00:00
Frank Dellaert a2512475c9 Symbol.h is now included just in time, no longer by default everywhere. 2012-06-02 19:05:38 +00:00
Frank Dellaert 5160c2eb50 Significant API change in slam (GTSAM 2.0.1 or 2.1): to eliminate confusion and give the user more freedom in creating their own Keys, the different slam variants no longer create Symbol keys themselves. Instead, all interaction is done via Keys (which are just unordered, unsigned ints). All PoseSLAM unit tests and examples now just use sequential keys. However, a user can still create Keys using the Symbol constructor, which is illustrated in the landmark-based unit tests and examples. 2012-06-02 16:18:40 +00:00
Richard Roberts 1ca9e7049e Merge remote-tracking branch 'svn/trunk' into windows
Conflicts:
	gtsam/linear/HessianFactor.h
	gtsam/nonlinear/Marginals.cpp
2012-05-28 12:22:36 +00:00
Yong-Dian Jian ace4327897 reorg the nonlinear/linear parameters to accommodate the iterative solvers 2012-05-25 15:26:30 +00:00
Alex Cunningham 47830cd56f Added clone and rekey facilities to nonlinear factor graph 2012-05-24 16:05:01 +00:00
Richard Roberts bcfe39f4ae Merge remote-tracking branch 'svn/trunk' into windows
Conflicts:
	gtsam/nonlinear/Marginals.h
2012-05-23 18:55:18 +00:00
Richard Roberts c2c9c4a982 Almost everything compiles and passes in windows 2012-05-23 18:51:49 +00:00
bpeasle 3264bd5a39 Reverted testOccupancyGrid.cpp back so that it does not break make check. 2012-05-23 15:57:12 +00:00
Alex Cunningham c3ca8175e9 removed old SPCG test 2012-05-22 15:05:15 +00:00
Frank Dellaert 18e23c20df Added missing header 2012-05-22 12:27:34 +00:00
Alex Cunningham 2bd7a0ed43 Added generic re-key function to nonlinear factor 2012-05-21 20:54:42 +00:00
Alex Cunningham 54f6f3629c Added clone() functionality to nonlinear factors 2012-05-21 20:54:40 +00:00
Alex Cunningham b66dc3586d Small change to merge in compatibility patch 2012-05-21 19:44:25 +00:00