Commit Graph

476 Commits (e20494324f7c1ef27e2c92d684dd0a5dc8b45cf4)

Author SHA1 Message Date
Duy-Nguyen Ta b1071b08a0 redirect stdcout to a stringstream so Python __str__() can properly return a string after calling the c++ print function
This is to avoid a printing issue in some Python's IDE when __str__() is called to update objects' values in Debug mode.
2017-07-25 16:32:26 -04:00
Duy-Nguyen Ta 8c60868e63 wrap more functions 2017-05-15 14:42:45 -04:00
Duy-Nguyen Ta a6281e1932 unify gtsam.h for matlab and cython wrapper 2017-03-18 15:33:01 -04:00
Duy-Nguyen Ta 9fe804bc1a replace matlab.h in gtsam.h for matlab wrapper by its new file nonlinear/utilities.h 2016-11-24 19:26:11 -05:00
dellaert 36d3c178cb Attempt at fixing matlab wrapper issues 2016-06-20 01:11:57 -07:00
dellaert bdbbe0203d Derive Point2 from Vector2 and deprecate a number of methods 2016-06-05 23:52:04 -07:00
Jing Dong b173057e33 fix matlab compile issue, by removing abstract class PreintegrationBase from wrapper declearation 2016-06-02 21:04:52 -04:00
dellaert 1233a9c9b7 Merge remote-tracking branch 'origin/develop' into feature/Feature/FixedValues
Conflicts:
	gtsam.h
	python/handwritten/nonlinear/Values.cpp
2016-04-10 17:40:26 -07:00
dellaert 2c0c3d1955 Added setters and getters for MATLAB wrapper 2016-04-10 10:56:36 -07:00
dellaert fad9462661 A better solution through typedef of FactorIndices -> FastVector<size_t> 2016-02-25 23:51:01 -08:00
Frank 0372a959ee Many small improvements, bug-fixes, and tests 2016-02-24 11:01:19 -08:00
Frank 4319bece1e Deprecated some more methods 2016-02-08 15:16:11 -08:00
dellaert 59729ec2a8 Merge remote-tracking branch 'origin/develop' into feature/Feature/FixedValues
Conflicts:
	gtsam/base/Matrix.cpp
	gtsam/linear/JacobianFactor.cpp
	gtsam/nonlinear/Values-inl.h
	gtsam/nonlinear/expressions.h
2016-02-07 20:00:38 -08:00
Frank Dellaert 3819b292ec Removed some obsolete methods 2016-01-30 16:59:28 -08:00
dellaert 8a45320ae2 Fixed MATLAB wrapper 2016-01-28 09:54:47 -08:00
dellaert 8333172ee6 Comment out IMU things for now to have Jenkins check everything else 2016-01-28 01:45:50 -08:00
dellaert 88fad4caff Fix small bugs with MATLAB wrapping 2016-01-27 09:24:49 -08:00
Duy-Nguyen Ta d4021859f7 Merge branch 'develop' into feature/Feature/FixedValues
Conflicts:
	gtsam_unstable/geometry/Event.cpp
2015-09-23 11:19:59 -04:00
Duy-Nguyen Ta aa2ffcd118 Merge branch 'develop' into feature/cleanup_ImuFactor 2015-09-17 17:42:38 -04:00
dellaert 63ca5dcfb0 Merge remote-tracking branch 'origin/develop' into feature/Feature/FixedValues
Conflicts:
	.cproject
	examples/Pose2SLAMExample_graph.cpp
	examples/SFMExample_SmartFactor.cpp
	examples/SFMExample_SmartFactorPCG.cpp
	gtsam.h
	gtsam/geometry/CameraSet.h
	gtsam/geometry/StereoCamera.cpp
	gtsam/geometry/StereoCamera.h
	gtsam/geometry/tests/testCameraSet.cpp
	gtsam/linear/RegularJacobianFactor.h
	gtsam/linear/tests/testRegularJacobianFactor.cpp
	gtsam/nonlinear/ExpressionFactor.h
	gtsam/nonlinear/expressions.h
	gtsam/slam/JacobianFactorQR.h
	gtsam/slam/JacobianSchurFactor.h
	gtsam/slam/RegularHessianFactor.h
	gtsam/slam/RegularImplicitSchurFactor.h
	gtsam/slam/SmartFactorBase.h
	gtsam/slam/SmartProjectionFactor.h
	gtsam/slam/SmartProjectionPoseFactor.h
	gtsam/slam/tests/testRegularHessianFactor.cpp
	gtsam/slam/tests/testRegularImplicitSchurFactor.cpp
	gtsam/slam/tests/testSmartFactorBase.cpp
	gtsam/slam/tests/testSmartProjectionPoseFactor.cpp
	gtsam_unstable/examples/SmartProjectionFactorExample.cpp
	gtsam_unstable/examples/SmartStereoProjectionFactorExample.cpp
	gtsam_unstable/slam/SmartStereoProjectionFactor.h
	gtsam_unstable/slam/SmartStereoProjectionPoseFactor.h
	gtsam_unstable/slam/tests/testSmartStereoProjectionPoseFactor.cpp
2015-08-31 21:06:37 -07:00
cbeall3 92e210b893 Fix examples and Matlab wrapper 2015-08-26 13:25:12 -04:00
Chris Beall 6a5147b5b5 Merged in fix/SmartStereo (pull request #181)
Fix/smartstereo
2015-08-25 09:51:59 -04:00
cbeall3 07bd7fa2bd fix examples and wrapper 2015-07-28 15:14:39 -04:00
dellaert a5d49a261e Fixed MATLAB wrapper (old-style interface still) 2015-07-18 23:11:27 -07:00
dellaert b711f5f964 Fixed wrapper 2015-07-12 22:49:04 -07:00
Frank Dellaert 30435da070 Moved BearingRangeFactor to SAM 2015-07-12 18:57:26 -07:00
Frank Dellaert 03db69117a Define and partially specify Range and Bearing functors 2015-07-12 15:51:49 -07:00
Frank Dellaert 3bad6fea67 moved RangeFactor to SAM 2015-07-12 12:12:59 -07:00
Frank Dellaert 5052eb2c64 cleaning up 2015-07-11 18:31:36 -07:00
Frank Dellaert 98ba94c748 moved BearingFactor to sam 2015-07-09 12:08:28 -07:00
Frank Dellaert 7ff3e11efd removed redundancy in naming 2015-07-09 11:29:32 -07:00
Frank Dellaert 377b90941b switch to Rodrigues everywhere 2015-07-05 16:11:04 -07:00
dellaert d415cffd4b Merge remote-tracking branch 'origin/develop' into feature/SmartFactors3 2015-06-23 22:41:33 -07:00
cbeall3 0e022b3b33 Values::keys now returns KeyVector instead of list. Corresponding fixes in Matlab wrapper. 2015-06-24 00:35:32 -04:00
dellaert acf4629f85 Fixed MATLAB wrapping of smart factor 2015-06-20 11:49:44 -07:00
Luca f8205bfe02 Merge branch 'develop' into feature/SmartFactors3
Conflicts:
	gtsam/geometry/CalibratedCamera.h
	gtsam/geometry/tests/testCalibratedCamera.cpp
	gtsam/geometry/triangulation.h
	gtsam/nonlinear/ExpressionFactor.h
	gtsam/slam/SmartProjectionFactor.h
	gtsam_unstable/slam/SmartStereoProjectionFactor.h
	tests/testExpressionFactor.cpp
2015-06-19 16:55:30 -04:00
cbeall3 569e6d90ef remove wrapped functions which no longer exist. 2015-06-03 13:25:16 -04:00
cbeall3 bf026eb33d Small fixes to make it actually work in Matlab 2015-05-20 13:30:36 -04:00
cbeall3 f8ab4ef144 Change SimpleCamera from typedef back to regular class to make wrapping+serialiation work. Had to change some templates because vector<PinholeCamera> can't be upcast to vector<SimpleCamera> 2015-05-18 14:33:27 -04:00
cbeall3 e5dce0de0d Remove OptionalPoint3 2015-05-06 13:30:52 -04:00
dellaert cd77ec8fd4 Added triangulation wrapping, tested and works in MATLAB ! 2015-05-03 18:54:17 -07:00
dellaert 67cf13ad74 Fixed errors in PinholeCamera wrapping and removed SimpleCamera (made it a simple typedef) 2015-05-03 18:32:28 -07:00
dellaert 3299127e6a Optional point 2015-05-03 18:21:18 -07:00
dellaert cd077c336d Added Pose3Vector 2015-05-03 17:32:13 -07:00
dellaert 13dcc977f2 Moved Point2Vector wrapper from gtsam_unstable.h to gtsam.h 2015-05-03 17:31:08 -07:00
dellaert 61e8b42249 Renamed project_to_camera to PinholeBase::Project 2015-03-06 08:46:56 -08:00
Paul Drews 8a88f101db Fix deprecation warnings 2015-02-24 21:58:17 -05:00
dellaert 64bb6b77d7 Merged in feature/SmartCT (pull request #107)
Refactoring of Smart Factors
2015-02-22 06:14:19 +01:00
dellaert 8a64d5bffe Got rid of template parameters POSE (which was a fiction) and Z (which is now derived as CAMERA::Measurement). 2015-02-19 12:27:40 +01:00
dellaert bac79bee12 Merge remote-tracking branch 'origin/develop' into feature/Feature/FixedValues 2015-01-23 04:48:18 +01:00
dellaert c7298da4fc Removed all fixed hacks - replaced it with possibly something worse (no reference returned from at) 2015-01-19 20:38:24 +01:00
dellaert d0579dff50 Wrapping Cal3Unified as a derived class of Cal3DS2_Base 2015-01-15 16:17:53 +01:00
dellaert ee4dbfec4b Removed dim/Dim 2014-12-26 20:57:48 +01:00
dellaert a881e8d3ee Cherry-picked imuFixed differences 2014-12-26 18:23:14 +01:00
Zhaoyang Lv 02e4f920d0 Merged in fix/matlab_examples_wrapper (pull request #75)
Fixing bugs in Wrap - re-creating
2014-12-19 13:04:29 -05:00
lvzhaoyang 3363edf77c Merge branch 'fix/matlab_examples_wrapper' into develop 2014-12-19 11:27:20 -05:00
dellaert 959a002693 Fixed and double versions 2014-12-19 15:40:43 +01:00
krunalchande da318184ae sync with develop branch commit c1f048d 2014-12-12 18:46:54 -05:00
thduynguyen e12add2739 Merged in develop (pull request #71). Resolve conflicts. 2014-12-12 15:34:53 -05:00
lvzhaoyang bcfcf8be8e fix gtsam wrapper for priorFactorVector 2014-12-12 11:34:34 -05:00
dellaert 22218eafc4 We will not wrap fixed Vectors and Matrices individually. Methods that take those can just as well be wrapped with Vector or Matrix. Note const and & are ignored for those. I added a small method, insertFixed, that allows one to put in small fixed size matrices for optimization. Did not do retrieval yet. 2014-12-10 10:45:22 +01:00
lvzhaoyang a67289b240 fix the insert simpleCamera. Now SFMexample can work 2014-12-06 23:18:15 -05:00
dellaert 96016edf85 Merge remote-tracking branch 'origin/develop' into feature/fixedSizeDerivatives
Conflicts:
	.cproject
2014-12-04 21:07:34 +01:00
lvzhaoyang e49c9fa100 1. remove LieVector in IMUKittiExampleGPS.m 2. Add tests the priorFactor in matlab 3. template substition tests in testsClass.cpp 2014-12-04 13:28:20 -05:00
dellaert 178e4fd61c Cut out unsupported methods in GTSAM 2014-12-04 12:28:33 +01:00
dellaert c9ca9c82a0 GTSAM header that gets parsed correctly 2014-11-30 10:51:32 +01:00
krunalchande 0e9f5c7841 Added Vector and Matrix for BetweenFactor 2014-11-26 03:58:49 -05:00
krunalchande 7a0366684a Added Vectors and Matrices. Does not work yet. 2014-11-26 03:54:21 -05:00
dellaert e842c9adbc Fixed issue #172 2014-11-26 09:34:37 +01:00
dellaert 867acbef6c Fixed building wrapper. 2014-11-24 20:14:56 +01:00
dellaert 5ab5e008ba Doxygen docs and naming convention PreintMeasCov_ -> preintMeasCov_ 2014-11-23 11:36:05 +01:00
krunalchande 50b1f78b6a Working. Removed drone related make targets from cproject. 2014-11-22 17:50:35 -05:00
dellaert 620fb4566f Fixed matlab wrappers 2014-11-22 18:22:55 +01:00
krunalchande 9230f4269b Changed return from Rot3 back to Matrix. Added imuBias in gtsam.h 2014-11-21 21:57:18 -05:00
krunalchande 881ecebfc9 Merge remote-tracking branch 'origin/develop' into feature/AHRSFactor
Conflicts:
	gtsam.h
	gtsam/navigation/CombinedImuFactor.h
	gtsam/navigation/ImuFactor.h
2014-11-19 13:10:33 -05:00
krunalchande 708d114b3c Moved project specific factors into a different project. 2014-11-19 11:59:08 -05:00
krunalchande d49396c1d2 Added and tested Cage Factor. Added Matlab Wrapper 2014-11-15 19:08:44 -05:00
krunalchande 3ba997014d fixed the naming convention 2014-11-13 13:46:00 -05:00
krunalchande 3774194651 Renamed getDataName to DataName 2014-11-13 09:49:35 -05:00
dellaert 341ad9f288 gtsam.h with templated Values::at now compiles ! 2014-11-13 01:26:06 +01:00
dellaert 14cf3da235 slight refactor 2014-11-11 13:42:13 +01:00
dellaert 8638c74e35 Added specializations of insert, as well as Cal3Bundler 2014-11-10 18:06:09 +01:00
dellaert fde3805aab Added Mike's desired code snippet 2014-11-10 16:44:48 +01:00
dellaert 06eb801526 Added virtual destructor: for some reason if I remove virtual methods the unit tests fail... 2014-11-10 16:44:09 +01:00
Mike Bosse 9391decc91 This does not work; but perhaps something like this may be done? 2014-11-10 16:15:47 +01:00
Mike Bosse e4936df80a matlab wrappers compile, but need testing 2014-11-07 22:41:21 +01:00
Mike Bosse 0ead01af92 matlab wrapper code needs to be updated since lieXXX are not used anymore 2014-11-07 16:41:43 +01:00
thduynguyen 32586ad175 wrap keys for GaussianFactor 2014-10-19 00:35:18 -04:00
krunalchande cf4374563b Fixed Dynamics Factor and added debug cout statements to help fix indeterminent linear system exception 2014-10-14 18:08:26 -04:00
thduynguyen 53ac63d2f8 wrap DistanceFactor to matlab 2014-09-26 17:21:43 -04:00
thduynguyen 3778e3c928 constructors for JacobianFactor up to 6-ary for testing in matlab 2014-08-06 11:10:36 -04:00
thduynguyen 4037d1ec1a wrap QPSolver 2014-08-06 11:10:35 -04:00
krunalchande bc2e9959fa Added matlab wrapper for Rot3AttitudeFactor.
Added a couple of functions to access data from the class in Matlab
2014-07-18 16:46:58 -04:00
krunalchande bdc3036d90 Added matlab support for AHRSFactor. 2014-07-15 00:14:13 -04:00
cbeall3 3bacdbbec5 Move Smart Projection Factor wrapper to stable 2014-06-20 13:41:51 -04:00
cbeall3 a34dff1397 Merge remote-tracking branch 'origin/feature/new_imu_factors' into develop 2014-06-20 13:32:34 -04:00
Yong-Dian Jian 0a7fd40b6c fix matlab toolbox compilation error 2014-06-17 13:47:43 -04:00
Yong-Dian Jian a0c77dcc1c remove unused variables in iterative solvers and rename accordingly. 2014-06-03 23:52:35 -04:00
dellaert 7119d0c3c2 Sanitized G2o I/O interface to conform to what we had before. No sense in having many different styles, and this works better for MATLAB (now wrapped, as well).
BAL reading/writing should be similarly cleaned up.
2014-06-01 11:46:23 -04:00
dellaert 3b10f61e5c utilities.localToWorld 2014-05-27 00:42:03 -04:00