Commit Graph

276 Commits (6b1e1d16d5638f85556ad01b51f8012df91d7ec3)

Author SHA1 Message Date
Richard Roberts cb5f186031 Two more patches after last checkin - removed numCachedShortcuts from MATLAB wrapper, and added EliminateQR as default argument to GaussianFactorGraph eliminate functions 2012-10-28 06:43:05 +00:00
Richard Roberts c251487baf Wrapped GaussianMultifrontalSolver 2012-10-27 19:45:30 +00:00
Richard Roberts 24111423d7 Made specific eliminate and eliminateOne methods for SymbolicFactorGraph and GaussianFactorGraph and made them accessible from MATLAB 2012-10-27 19:45:28 +00:00
Richard Roberts d90f44129c Fixed typo/spelling 2012-10-09 00:12:51 +00:00
Richard Roberts eb21cf0911 Cleaned up information/augmentedInformation for GaussianFactor and GaussianConditional 2012-10-08 22:40:37 +00:00
Chris Beall 4297d24c96 changed tabs to spaces for consistent indentation in all of GTSAM 2012-10-02 14:40:07 +00:00
Alex Cunningham 6284312a5c Added unit test for Fast* containers, added generic interface to convert from containers to KeySet 2012-09-24 19:42:41 +00:00
Alex Cunningham df2a6bfdee Added reporting functions for counting number of cached shortcuts/separatorMarginals in BayesTree 2012-09-21 20:57:30 +00:00
jdurand7 ea2c13bca3 Added method saveGraph for BayesNet. 2012-09-14 22:13:33 +00:00
jdurand7 5cdcdaa448 Made SymbolicBayesTree and GaussianBayesTree subclasses of templated BayesTree 2012-09-14 20:52:22 +00:00
jdurand7 b8ccc78a16 Wrapped BayesNet templates and made both SymbolicBayesNet and GaussianBayesNet derived classes. 2012-09-14 19:59:10 +00:00
Alex Cunningham 684af98249 Added function to manually clear shortcut caches in a bayes tree 2012-09-10 20:07:59 +00:00
Alex Cunningham 2657f04bec Added clone() to BayesTree to allow for full inheritance, wrapped GaussianBayesTree and made GaussianISAM inherit from GaussianBayesTree 2012-09-10 17:00:02 +00:00
Richard Roberts ba6024e559 Wrapped additional function 2012-09-10 14:39:36 +00:00
Andrew Melim 4752c10e21 Inherited methods show up on doc. ISAM2 for MATLAB now inherets from Bayes Tree 2012-09-08 19:51:23 +00:00
Andrew Melim 43b7f98594 Added more functionality to matlab wrapper 2012-09-07 23:10:49 +00:00
Richard Roberts 73f8c0830b Created new dense matrix functions in GaussianFactorGraph returning pair<Matrix,Vector> for easier access, and renamed functions to augmentedJacobian, augmentedHessian, jacobian, hessian 2012-09-04 15:05:57 +00:00
Duy-Nguyen Ta 2b4c0e1b14 add printStats() and wrap saveGraph for ISAM2 2012-09-04 04:17:55 +00:00
Yong-Dian Jian e9eb96a408 wrap iterative solver, subgraph solver, etc.
fix the matlab spcg example
2012-09-03 21:50:22 +00:00
Richard Roberts 3b897cddc9 Added eliminateFrontals function to FactorGraph, SymbolicFactorGraph, and GaussianFactorGraph - eliminates requested number of frontal variables and returns the resulting conditional and remaining factor graph 2012-08-30 19:58:33 +00:00
Richard Roberts 07fb022480 Wrapped NonlinearFactorGraph::symbolic method 2012-08-27 13:21:45 +00:00
Frank Dellaert 868fc7f1e0 Fixed order of methods in wrap, and wrapped matrix and augmented_matrix (why were they not wrapped?) 2012-08-27 12:52:33 +00:00
Richard Roberts 88f504b73d Wrapped rest of VectorValues interface 2012-08-17 03:45:26 +00:00
Richard Roberts 31b5dfc188 Fixed wrong return type in gtsam.h 2012-08-17 03:45:24 +00:00
Stephen Williams 355141f985 Added dense matrix accessor for JointMarginals 2012-08-15 17:17:52 +00:00
Richard Roberts 92e575f8c1 Wrapped LieScalar 2012-08-11 02:53:56 +00:00
Alex Cunningham b6e7709052 Added printKeys() to factor for more compact printing 2012-08-10 18:13:45 +00:00
Alex Cunningham a025b377ec Added full Values interface 2012-08-07 18:21:35 +00:00
Alex Cunningham 3838fd5508 Added push_bach() to NonlinearFactorGraph with full graph argument 2012-08-07 17:19:06 +00:00
Stephen Williams b57b2df313 Added a C++ function for matlab to insert multiple projection factors from a single frame. 2012-08-05 23:52:47 +00:00
Frank Dellaert 6596aec1ab Added print for LMOptimizer 2012-08-04 20:32:23 +00:00
Richard Roberts 6f0c0fc7c5 Merged from branch 'trunk' 2012-08-03 21:09:59 +00:00
Richard Roberts 711b28ae01 Merge remote-tracking branch 'svn/trunk' into remove_slam_namespaces
Conflicts:
	matlab/examples/Pose2SLAMExample_graph.m
2012-08-03 21:02:27 +00:00
Alex Cunningham a9864dab23 Wrapped ISAM1 2012-08-03 20:23:08 +00:00
Alex Cunningham 55adfb2082 Added another constructor for Cal3_S2 2012-08-02 18:55:35 +00:00
Stephen Williams fd4f11d21e Wrapped per-variable thresholds for iSAM2 2012-07-30 21:19:24 +00:00
Kyel Ok 305ab998fc wrapped dist() for Point2 2012-07-30 20:16:54 +00:00
Richard Roberts a13ef97987 Wrapped default-argument versions of load2D 2012-07-30 18:34:47 +00:00
Stephen Williams 47f92ccdf2 Added matlab.h, a temporary file holding special namespace functions. These need to be reviewed and a permanent home found. 2012-07-30 15:40:58 +00:00
Richard Roberts 9d2a3bf14e Finished denamespacing and reorganizing matlab code 2012-07-27 19:02:11 +00:00
Richard Roberts 5177f31a5d Merge remote-tracking branch 'svn/trunk' into remove_slam_namespaces
Conflicts:
	gtsam/nonlinear/SuccessiveLinearizationOptimizer.h
	matlab/examples/Pose2SLAMExample_circle.m
	matlab/examples/Pose2SLAMExample_graph.m
	matlab/examples/StereoVOExample_large.m
	tests/testGradientDescentOptimizer.cpp
2012-07-27 19:01:43 +00:00
Frank Dellaert 5c22654194 load2D wrapped, but pair argument does not work? 2012-07-26 01:40:25 +00:00
Richard Roberts 6bee17b603 Added support for SPCG in matlab wrapper 2012-07-24 15:48:33 +00:00
Richard Roberts fa89f59f54 Wrapped GenericStereoFactor 2012-07-24 14:23:36 +00:00
Richard Roberts cd69779754 Wrapped GeneralSFMFactor and added placeholders for Cal3DS2 once it has a 'calibrate' function 2012-07-23 21:27:42 +00:00
Richard Roberts 87d1e0a488 Added 'This' keyword in wrap templates to substitute instantiated class 2012-07-23 21:27:36 +00:00
Richard Roberts 415881e0e6 Merged from branch 'trunk' into 'branches/remove_slam_namespaces' 2012-07-23 19:31:31 +00:00
Richard Roberts 5b584c3b73 Added SuccessiveLinearizationParams.ordering and BearingRangeFactor in matlab interface 2012-07-23 19:20:56 +00:00
Richard Roberts bbaf2d8cb5 Wrapped JointMarginal class and joint marginal functions of Marginals 2012-07-23 19:20:43 +00:00
Alex Cunningham 656f573c0a Removed from wrap the use of "using namespace xxx" statements - wasn't fully supported before, and now we have real namespace support 2012-07-23 18:24:43 +00:00
Alex Cunningham 79c9bc99ff Some additional cleanup in wrap 2012-07-23 18:24:39 +00:00
Alex Cunningham 5d008d43fa Added example namespace function to gtsam - works in matlab 2012-07-23 18:24:37 +00:00
Stephen Williams f4c022c35a Added required header files to gtsam.h 2012-07-23 15:33:39 +00:00
Alex Cunningham ece5888cac Removed need in wrap to end namespaces in special non-standard tag - can now just use } 2012-07-23 14:09:44 +00:00
Richard Roberts 564ab1dd63 Wrapped Values::keys() function 2012-07-22 00:57:24 +00:00
Richard Roberts c8daa42348 Wrapped JointMarginal class and joint marginal functions of Marginals 2012-07-21 23:54:55 +00:00
Stephen Williams 4b3edb0889 Wrapped iSAM2 2012-07-19 19:50:00 +00:00
Vadim Indelman c865485342 Richard's changes of RangeFactor. 2012-07-19 15:11:11 +00:00
Richard Roberts 9dadbebbd1 Wrapped DoglegOptimizer and LevenbergMarquardtOptimizer, added class heirarchy to optimization parameters 2012-07-18 23:35:36 +00:00
Alex Cunningham 4b772b43cf Simplified include handling in wrap: no more default includes, includes are not associated with a class or a namespace. 2012-07-17 18:30:02 +00:00
Richard Roberts e9f710a1ac More flexible handling of includes in wrap - can now use multiple includes both at the namespace and class levels, and namespace includes do not override the default class-name includes of their enclosed classes. 2012-07-17 15:51:35 +00:00
Richard Roberts 6eb9d3246f Wrapped LieMatrix 2012-07-17 15:51:32 +00:00
Duy-Nguyen Ta abc29ea2ca capitalize static functions Level and Lookat in CalibratedCamera and PinholeCamera for matlab wrapper 2012-07-16 15:24:27 +00:00
Richard Roberts 5f49a18628 Added docs about templates to gtsam.h 2012-07-13 23:19:37 +00:00
Richard Roberts bcaa1d00bf Fixed warnings 2012-07-13 21:57:57 +00:00
Richard Roberts ecfcf82f13 Wrapped NonlinearEquality and NonlinearFactorGraph::at 2012-07-13 21:55:02 +00:00
Richard Roberts c3ed90c792 Small cleanup with factor graph 'add' functions 2012-07-12 22:28:23 +00:00
Richard Roberts 55a153ebc6 Wrapped Cal3DS2, RangeFactor, BearingFactor, and GenericProjectionFactor 2012-07-12 02:11:32 +00:00
Richard Roberts 8d661f6e86 Added templates for PriorFactor and BetweenFactor to gtsam.h 2012-07-11 21:43:19 +00:00
Richard Roberts 646457bfb2 Wrapped additional functions in factors and factor graphs, added factor heirarchy, fixed mistake in noisemodel heirarchy 2012-07-11 18:18:57 +00:00
Richard Roberts 0c384dc35a Added a check that all wrapped classes involved in a heirarchy are marked virtual 2012-07-10 22:38:21 +00:00
Richard Roberts 6a7dffda22 Specified noiseModel inheritance in gtsam.h 2012-07-09 20:53:10 +00:00
Richard Roberts 0bbe6daf6e Removed incorrect constructor left in from test 2012-07-09 20:53:09 +00:00
Richard Roberts 4a0866b519 Merge remote-tracking branch 'svn/branches/wrap_mods' into wrap_mods_inheritance
Conflicts:
	gtsam.h
2012-07-09 20:27:23 +00:00
Richard Roberts e915e666b5 Can return abstract base classes from functions in matlab wrapper, i.e. Values::at 2012-07-09 20:19:37 +00:00
Alex Cunningham ab415e0d09 Updated notes on interface 2012-07-09 20:05:34 +00:00
Alex Cunningham 280bbbb54e Wrapped Ordering::InvertedMap 2012-07-09 18:51:07 +00:00
Richard Roberts 8a8b27005f wrap_mods_inheritance branch - Can now pass derived classes in as base class arguments (i.e. pass gtsamPose2 where gtsamValues.insert expects gtsamValue) 2012-07-09 00:02:43 +00:00
Richard Roberts 3c27daae18 wrap_mods_inheritance branch: in progress with inheritance in matlab wrapper 2012-07-08 12:27:39 +00:00
Richard Roberts da5c924d58 Merged from branch 'trunk' 2012-07-06 18:37:55 +00:00
Yong-Dian Jian 18fe7b17d8 wrap sparseBA namespace for matlab and add an example 2012-07-06 17:38:32 +00:00
Frank Dellaert fc85f917cd reprojectionErrors 2012-07-06 07:38:25 +00:00
Frank Dellaert 1bc4db97c6 More efficient operations from within MATLAB 2012-07-05 23:32:37 +00:00
Frank Dellaert 699aaf51bb Values copy constructor exposed in MATLAB 2012-07-05 17:56:34 +00:00
Yong-Dian Jian e437084349 remove a custom constructor for LMParams, update matlab interface and tests accordingly 2012-07-05 15:08:07 +00:00
Richard Roberts ea687c9ff8 Uncommented some overloads in gtsam.h 2012-07-05 14:05:02 +00:00
Frank Dellaert d89a9e086c Allow more parameters to be set 2012-07-04 15:41:19 +00:00
Frank Dellaert 989c71e9a2 addMeasurements adds a bunch of measurements at the same time 2012-07-04 15:16:03 +00:00
Alex Cunningham 1d1fcecccf Added more functionality to interfaces to set/vector/list, moved typedefs to Key.h, added more matlab interfaces 2012-07-02 17:32:47 +00:00
Frank Dellaert 747342ffda Changed some printing details, prompted by MATLAB display 2012-07-02 15:01:28 +00:00
Richard Roberts 32ad753a38 Fixed renamed function in gtsam.h 2012-06-30 17:36:25 +00:00
Frank Dellaert b1dbfab1b3 All SLAM Graph classes now derive from a common base class "EasyFactorGraph", to avoid duplicating the common optimize convenience methods. 2012-06-24 21:53:05 +00:00
Frank Dellaert 151743a96b Sanitized view methods 2012-06-24 14:33:02 +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
Yong-Dian Jian 5acc52bbae add set/get interface for LMParameters in c++ and matlab 2012-06-23 20:07:03 +00:00
Alex Cunningham 188478e4ed make targets for cleaning wrap, comments in gtsam.h 2012-06-23 19:24:57 +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
Alex Cunningham 18ba9bcb3d Removed sample() functions and global random number generator 2012-06-22 16:38:01 +00:00
Alex Cunningham ae9088efdc Added back dim() for NonlinearFactor 2012-06-22 15:57:56 +00:00
Stephen Williams 700dba5e8e Added several inference-level classes to the matlab wrapper 2012-06-21 23:53:49 +00:00