Commit Graph

6568 Commits (0e44261b1ec9108ab13eccbc2f59ae13e32dbef4)

Author SHA1 Message Date
Varun Agrawal 99f351da4c Merge branch 'develop' into feature/matlab-wrap 2021-03-10 15:59:57 -05:00
Varun Agrawal faf004347b Fix Matlab tests and add saveGraph method to GaussianBayesNet 2021-03-10 15:58:12 -05:00
John Lambert a27679e803 use different brace indent format 2021-03-10 12:34:40 -05:00
John Lambert 10b2465351 improve docstring 2021-03-10 10:23:11 -05:00
John Lambert bddd7e68eb add const on Rot3 2021-03-10 09:45:19 -05:00
John Lambert 490c14b95e Merge branch 'develop' of https://github.com/borglab/gtsam into sim3-alignment 2021-03-10 09:32:00 -05:00
John Lambert 2c1593c020 improve docstring 2021-03-10 08:53:55 -05:00
John Lambert 5da50a5a6f improve docstring 2021-03-10 08:53:43 -05:00
Varun Agrawal f03b12e420 Make matlab wrapping rely completely on the wrap project 2021-03-09 16:10:08 -05:00
Ayush Baid 1670e68e2f enabling markers and testing pickle roundtrip for few classes 2021-03-08 20:18:09 -05:00
John Lambert b105b8fe95 Merge branch 'develop' of https://github.com/borglab/gtsam into sim3-alignment 2021-03-05 14:38:14 -05:00
John Lambert eaf457e625 update test notation to have just 1 world frame, and fix typo in abPointPairs 2021-03-05 14:26:37 -05:00
John Lambert 063a41a3f8 clean up Sim(3) notations 2021-03-05 14:17:29 -05:00
John Lambert 4d079e1905 fix notations 2021-03-05 14:17:00 -05:00
akrishnan86 759dcaa1dd formatting changes 2021-03-05 00:06:30 -08:00
Akshay Krishnan a2f99ac71c unit test + fix segfault 2021-03-05 07:21:38 +00:00
John Lambert 96cce19f79 update author list 2021-03-03 12:17:14 -05:00
John Lambert 9f5acb1890 switch typedef to using per popular request 2021-03-03 11:26:23 -05:00
John Lambert 3121604f63 fix bugs in Karcher mean 2021-03-03 11:25:55 -05:00
John Lambert 943879c6cc fix notation 2021-03-03 01:56:13 -05:00
John Lambert 30edfe9658 move Point3Pairs to Point3.h part of gtsam.i 2021-03-03 01:54:27 -05:00
John Lambert 104031dca3 Rename PointPairs to Point3Pairs everywhere per popular demand 2021-03-03 00:25:04 -05:00
John Lambert 7604633c43 update the docstring 2021-03-03 00:21:54 -05:00
John Lambert b839444d17 move PointPairs to Point3.h 2021-03-03 00:16:31 -05:00
John Lambert 89dfdf082f PointPairs to Point3Pairs, and move to Point3.h 2021-03-03 00:16:08 -05:00
John Lambert 7caaf69ae5 add interface for transformFrom 2021-02-26 10:44:54 -05:00
Asa Hammond f48a2f6273 test cleanup 2021-02-26 07:11:21 -08:00
John Lambert 06e6aa918f add standard interface for Sim3 in wrapper 2021-02-26 08:25:28 -05:00
Asa Hammond 68cdb41706 corrected license header 2021-02-25 18:55:19 -08:00
Asa Hammond aacba70562 cleanup some cruft, add license text 2021-02-25 18:50:42 -08:00
Asa Hammond 78b92e0fbc fixup noisemodel so its correct dimension 2021-02-25 18:38:45 -08:00
Asa Hammond d7c565d885 static const for placeholder vars 2021-02-25 18:37:10 -08:00
Asa Hammond 34a7ce0d0d rename some vars for consistency 2021-02-25 18:35:29 -08:00
Asa Hammond df76b3b51f remove AAA style for Dellaert style on simpler types 2021-02-25 18:12:08 -08:00
Asa Hammond 38ec991731 Add docstrings, use update() to build predicted state and build the error calc 2021-02-25 18:09:45 -08:00
John Lambert 7d90e5040b add Align() for pose3pairs 2021-02-25 20:51:33 -05:00
John Lambert 149b0adfb1 move typedef to header file 2021-02-25 18:13:53 -05:00
John Lambert 98faf54f9b move unit test out of gtsam unstable 2021-02-24 22:12:00 -05:00
John Lambert 0a2deab5b6 move sim3 to stable version 2021-02-24 17:39:16 -05:00
Asa Hammond c0cd024b2a bind a lambda instead of a static function 2021-02-23 18:27:20 -08:00
Asa Hammond 2aa7144b7e add gtsam namespace 2021-02-23 17:32:48 -08:00
Asa Hammond 8c324ccbf5 Initial implimentation of a Constant Velocity Constraint between NavStates 2021-02-23 17:15:27 -08:00
Frank Dellaert f5ff7aa49f
Merge pull request #564 from borglab/fix/planeFactor
Fix/plane factor
2021-02-22 23:58:14 -05:00
David Wisth 8f18ce931b Add inline comments on commented-out unit tests 2021-02-20 23:13:43 +00:00
David Wisth 960a3e1d8e Tidy up comments and use cpplint 2021-02-16 11:48:26 +00:00
David Wisth 71f39ab2e0 remove the error() function from OrientedPlane3 (it had incorrect derivatives) 2021-02-16 11:26:16 +00:00
David Wisth 1771a5699a Revert "remove deprecated Unit3::error() which is replaced by Unit3::errorVector()"
This reverts commit 5087d36ab1.
2021-02-16 10:16:21 +00:00
David Wisth 5087d36ab1 remove deprecated Unit3::error() which is replaced by Unit3::errorVector() 2021-02-15 14:43:28 +00:00
David Wisth 0ad488c567 Update print method of OrientedPlane3Factor 2021-02-15 13:15:38 +00:00
Frank Dellaert b6bd656584
Merge pull request #690 from ToniRV/fix/shonan_averaging_dense_to_sparse
Fix/shonan averaging dense to sparse
2021-02-04 00:07:52 -05:00
Toni 44d9c77667 Remove unnecessary include eigen3 2021-02-03 17:57:44 -05:00
Toni 1e04dced47 Fix issue #689 2021-02-03 17:54:11 -05:00
Frank Dellaert 8261326e78
Merge pull request #684 from borglab/feature/gncImprovements
changed barcsq to a vector to allow each factor to have a different inlier threshold
2021-02-03 13:44:21 -05:00
Frank Dellaert 9eb626775a Comments 2021-02-03 13:40:43 -05:00
jingnanshi 566e4c4a0a use std namespace qualifier 2021-01-31 17:41:28 -05:00
lcarlone 95e685296e removed commented line 2021-01-30 17:04:20 -05:00
lcarlone bd0a735ee8 improved comments 2021-01-29 19:05:29 -05:00
Frank Dellaert 46464aa357 cleanup 2021-01-28 23:22:50 -05:00
Toni 7f80c906c4 Fix override warnings: modernize-use-override 2021-01-28 23:02:13 -05:00
Frank Dellaert b8f54666b0
Merge pull request #687 from ptrmu/ptrmu_numericalGradient_typo
typo in numericalGradient test hidden by duplicate test values
2021-01-28 10:46:33 -05:00
Gerry Chen 97723d1826
Merge pull request #682 from borglab/feature/sparseJacobian3
Speed up `sparseJacobianEigen()`
2021-01-28 03:02:20 -05:00
Peter Mullen a3d06f635f type in test hidden by duplicate test values 2021-01-27 21:48:10 -08:00
Gerry Chen 53261a5e16 auto and reserve fewer 2021-01-27 16:58:05 -05:00
Gerry Chen 2590b3b980 replace sparseJacobian with "fast" version 2021-01-27 15:25:01 -05:00
Gerry Chen 8063b9ae95 disambiguate double template >> 2021-01-27 10:58:26 -05:00
Gerry Chen fa6bdd4042 fix comment and remove whitespace diff 2021-01-27 10:54:22 -05:00
Gerry Chen a17bd5c6d5 remove InPlace jacobian from .h file 2021-01-27 10:44:31 -05:00
Gerry Chen dcf8a52b8b remove unnecessary function overloads and typedefs 2021-01-27 10:27:32 -05:00
Varun Agrawal ccd64fb08c use standard function to check for empty string 2021-01-25 16:22:09 -05:00
Varun Agrawal 5e8acf4378 fix bug in Pose2 print 2021-01-25 16:17:25 -05:00
lcarlone a59a12245c done with new default noise thresholds! 2021-01-22 23:24:28 -05:00
lcarlone 28b0f0ac8e working unit tests: added chi2 2021-01-22 22:27:47 -05:00
lcarlone fdced87b9a trying to include chi2 2021-01-22 22:22:54 -05:00
lcarlone be86b9b5d7 changed barcsq to be a vector, such that the user can provide a bound for each factor 2021-01-22 21:04:28 -05:00
Frank Dellaert 79d42479d0 Cleanup 2021-01-21 15:21:29 -05:00
Frank Dellaert 1b36c7497e Cleaned up derivative code 2021-01-21 15:02:54 -05:00
Frank Dellaert 6c39730872 Got rid of static versions of methods 2021-01-21 14:53:13 -05:00
Frank Dellaert 68887f2da6 Got rid of extra keys 2021-01-21 14:52:58 -05:00
Frank Dellaert fd8575bd13
Merge branch 'fix/planeFactor' into fix/oriented-plane3-factor-jacobian 2021-01-21 10:50:18 -05:00
Frank Dellaert 6b11c9fe83 use transform rather than deprecated static function 2021-01-21 10:46:23 -05:00
Frank Dellaert b5789f6b80 Merge branch 'develop' into fix/planeFactor 2021-01-21 10:09:09 -05:00
jingwuOUO d267368b28
Merge pull request #533 from borglab/jing/powermethod
Added accelerated power method to compute eigenpair fast
2021-01-20 22:09:54 -05:00
Gerry Chen b638954266 formatting 2021-01-20 17:08:18 -05:00
Gerry Chen 570135c6f6 revert Matrix.h 2021-01-20 17:02:51 -05:00
Gerry Chen fd2d8a236a remove templating while maintaining efficiency
Templating still used in cpp file for generic-ness, but not exposed
anymore

std::tuple has the same performance as Eigen::Triplet, but boost::tuple
is slower.  Sparse matrix indices are int instead of size_t for
efficiency (e.g. A(i, j) = s  ->  i/j are int's instead of size_t's)
2021-01-20 17:01:15 -05:00
Gerry Chen 286898a847 move SparseMatrixBoostTriplets typedef to gfg 2021-01-20 12:25:20 -05:00
Gerry Chen b5951d033e populate sparse matrix with `insert` rather than `setFromTriplets`
About 5% speed improvement.
2021-01-19 20:56:18 -05:00
Varun Agrawal 229abc7fe7
Merge pull request #678 from borglab/fix/better-printing
Better printing
2021-01-19 20:54:00 -05:00
Varun Agrawal e86e328240
Merge pull request #679 from borglab/fix/misc
Miscellaneous fixes
2021-01-19 20:53:37 -05:00
Gerry Chen 9584860da0 eliminate copy/pasta from SparseEigen with generic version of sparseJacobian 2021-01-19 20:27:30 -05:00
Gerry Chen e3dd22925a more generic sparseJacobianInPlace function 2021-01-19 20:25:57 -05:00
Gerry Chen 7a6f632f4c add generic optional parameters to sparseJacobian
Also, the unit test changed due to a 0 entry that was previously wrongly
included in the b-column of the sparse representation.
2021-01-19 16:59:12 -05:00
David Wisth 62119d8076 Add hessian calculation 2021-01-19 20:51:31 +00:00
Varun Agrawal afb28e91b6 add BearingRange measured to wrapper 2021-01-19 15:40:21 -05:00
Varun Agrawal 2168cd4a04 stream printing for Pose2 2021-01-19 15:39:37 -05:00
Varun Agrawal 56eb1bb808 use of passed in stream for print capture 2021-01-19 15:23:14 -05:00
Varun Agrawal 6f6588457b use streams instead of printf 2021-01-19 15:22:41 -05:00
Gerry Chen ada83d92dc minor efficiency modifications 2021-01-19 14:38:10 -05:00
Gerry Chen 77c65f8176 timing sparse eigen 2021-01-19 14:03:14 -05:00
Gerry Chen 8f13405f05
Merge pull request #677 from borglab/feature/sparseJacobian3
additional `sparseJacobian` functions (new)
2021-01-19 13:59:05 -05:00