Commit Graph

351 Commits (d00a5b19ab0be0b460f07f4cee44c43e84320deb)

Author SHA1 Message Date
Duy-Nguyen Ta 7256c88bbd change Pose2::adjointMap and adjoint to Pose2::AdjointMap and Adjoint to make it consistent with Pose3 and standard Lie group notation 2013-04-30 17:20:23 +00:00
Duy-Nguyen Ta b1b05887fc allow method starting with uppercase letter to be wrapped in matlab. Wrap Pose3's AdjointMap and Adjoint operator 2013-04-21 19:29:41 +00:00
Alex Cunningham 3e754ecd70 Comments and argument name only change 2013-04-10 19:35:48 +00:00
Alex Cunningham e8cb5491f0 Added function to convert from a Rot3 to a vector quaternion that works in matlab. Fixed plot2DTrajectory to actually plot poses when there are no marginals 2013-03-25 17:58:11 +00:00
Richard Roberts 74bb1ff9ae Wrapped ISAM2 copy constructor in MATLAB 2013-03-13 18:17:45 +00:00
Alex Cunningham 22f028ab51 Added scale() and add() for VectorValues with a matlab interface 2013-02-23 20:31:42 +00:00
Alex Cunningham 6e026959ac Added flags in ProjectionFactor to allow optional verbosity in printing during Cheirality exceptions, as well as optional re-throwing of the exception. By default, Cheriality exceptions will be silent. 2013-02-21 21:21:07 +00:00
Alex Cunningham ce5d709032 Wrapped Cal3DS2 2013-02-15 17:27:38 +00:00
Duy-Nguyen Ta 25226602c3 change namespace "MEstimator" to "mEstimator" to wrap robust noise models to matlab. Add Tukey. 2013-02-07 19:19:33 +00:00
Richard Roberts 305e71ba19 Updated MATLAB wrapper gtsam.h for isam2 chain optimizations 2013-02-05 21:52:50 +00:00
Richard Roberts 9a23c2936a Merge remote-tracking branch 'refs/remotes/svn/trunk' into isam2-chain-optimization
Conflicts:
	gtsam/linear/VectorValues.h
2013-02-04 22:53:02 +00:00
Alex Cunningham 40929e9cc3 Added and wrapped determinant functions for BayesTree 2013-02-04 21:00:43 +00:00
Alex Cunningham 059a2c1b97 Added matlab interface to access cliques by index from BayesTree 2013-02-04 17:55:55 +00:00
Alex Cunningham a8f5bbf9bd Wrapped namespace functions for GaussianBayesTree 2013-01-28 19:26:52 +00:00
Richard Roberts e1563d9c21 Fixed typo in wrap module explanation at top of gtsam.h 2013-01-26 21:22:56 +00:00
Richard Roberts 494b022382 Merged from branch 'trunk' into 'isam2-chain-optimization' 2013-01-08 16:32:00 +00:00
Yong-Dian Jian 392ca3a84d make the print message with consistent format 2013-01-03 02:50:55 +00:00
Richard Roberts 1d8d733182 Updated MATLAB wrapper for VectorValues and Permutation changes in previous several commites (isam2-chain-optimizations branch) 2012-12-19 00:59:03 +00:00
Richard Roberts 5810747937 Removed 'permuteSeparatorWithInverse' from MATLAB wrapper 2012-12-18 14:21:38 +00:00
Andrew Melim 93b59990e3 Overload for insertProjectionFactors in matlab utilities 2012-12-17 22:30:54 +00:00
Alex Cunningham 237da8b3a7 Moved LinearContainerFactor to gtsam/nonlinear and removed the now-redundant LinearizedFactor from gtsam_unstable 2012-11-21 19:41:24 +00:00
Frank Dellaert 3a075208a1 wrapped allPose3s, pop methods in KeyList 2012-11-17 19:24:39 +00:00
Richard Roberts 0c3761a2a9 Reverted r14178, r14179, r14195, r14196 (isam2 chain optimizations) to move them to a branch 2012-11-11 20:51:03 +00:00
Richard Roberts 7ceab5b4a2 Removed 'permuteSeparatorWithInverse' from MATLAB wrapper 2012-11-05 01:04:14 +00:00
Alex Cunningham c3f38349b4 Fixed include paths for matlab modules 2012-10-28 20:48:17 +00:00
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
Yong-Dian Jian 3366c673d7 (With Duy) add a matlab wrapper for the LM optimizer and parameters in visualSLAM, have an example in SFMExample.m 2012-06-21 14:28:08 +00:00
Yong-Dian Jian 30525529c9 update according to the pinholecamera change 2012-06-20 20:56:06 +00:00
Frank Dellaert 006d3fcde2 Added verbosity flag 2012-06-19 19:06:32 +00:00
Duy-Nguyen Ta 584c5c11c4 wrap noiseModel classes. Inheritance works nicely in Matlab. Probably we don't need shared noise model classes anymore. 2012-06-19 06:08:55 +00:00
Frank Dellaert 06f4de3981 level is shadowed 2012-06-19 00:22:07 +00:00
Frank Dellaert 5d33ab4b4e Cleaned up header and wrapped most functions (why not clean up stuff and be comprehensive when you wrap a function in class Foo, all? Takes a few minutes extra, but you're right there!) 2012-06-18 23:31:57 +00:00
Duy-Nguyen Ta 509c2b4c67 wrap LieVector 2012-06-18 18:12:19 +00:00
Alex Cunningham 3224f7ec01 Removed simulated2D from wrapped example domains, as it isn't actually installed anymore 2012-06-14 16:10:46 +00:00
Alex Cunningham cbc5ee6c18 Added wrapping for NonlinearFactor to allow for access to keys from an individual key 2012-06-14 16:03:57 +00:00
Frank Dellaert 4bbe66f106 Wrapped some more iSAM methods. Note that wrap cannot handle returning a reference, so the 4 methods we (Yong-Dian and I) added make a copy, just by declaring it a non-reference in gtsam.h. Works, but be mindful of cost. 2012-06-13 17:45:27 +00:00
Alex Cunningham 63b3b4ecea Added matlab interface to get indices out of Values structures. Added more matlab symbol functions. 2012-06-13 16:38:51 +00:00
Alex Cunningham e21696b473 Adding filtering interfaces for Values to isoloate points and poses 2012-06-13 13:48:55 +00:00
Alex Cunningham f602049484 Wrapped SimpleCamera::projectSafe() 2012-06-11 14:48:26 +00:00
Frank Dellaert 4107167633 nrPoses, nrPoints 2012-06-10 15:20:51 +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
Frank Dellaert bf21239e41 printStats 2012-06-07 14:29:18 +00:00
Frank Dellaert f8ce3a9c11 saveGraph 2012-06-07 13:17:46 +00:00
Frank Dellaert 9ef891198b Re-factored iSAM MATLAB example and wrapped more ISAM functions 2012-06-07 05:19:43 +00:00
Frank Dellaert 9211a314a8 comment 2012-06-07 02:19:12 +00:00
Frank Dellaert 3729b322fd retractCayley not on quaternion branch 2012-06-06 12:30:30 +00:00
Duy-Nguyen Ta 64beba42e4 wrapping SimpleCamera::lookat and visualSLAM's ISAM to MATLAB 2012-06-06 09:42:27 +00:00
Frank Dellaert cdd5ba2517 removed duplicate method 2012-06-06 04:28:13 +00:00
Chris Beall 7fdf3ef1bb wrapped visualSLAM helper functions 2012-06-05 17:27:40 +00:00
Richard Roberts bef45d5b7b Merged from branch 'branches/windows' 2012-06-05 14:09:58 +00:00
Frank Dellaert 0d2873fd20 update 2012-06-05 13:27:43 +00:00