Commit Graph

970 Commits (release/4.3a0)

Author SHA1 Message Date
senselessdev1 4f406650f7 rename KeypointsList -> KeypointsVector 2022-10-12 21:29:18 -04:00
senselessdev1 cafab61fec expand tests 2022-09-27 10:29:36 -04:00
senselessdev1 96aaff4bc6 wrap vector of NamedSfmMeasurement 2022-09-26 20:42:03 -04:00
John Lambert fa17c50910
Add SfmTrack2dVector to ignore list 2022-09-26 18:41:59 -04:00
senselessdev1 a3069a3fbc remove opaque on sfmtrack2d 2022-09-26 11:58:07 -04:00
senselessdev1 2434dc8ab7 add to preamble/specialization 2022-09-26 11:36:39 -04:00
senselessdev1 a2109a2437 pass in IndexPair arguments 2022-09-26 10:56:44 -04:00
senselessdev1 8007271f4b Merge branch 'develop' of https://github.com/borglab/gtsam into dsf-gtsfm-to-gtsam-port 2022-09-26 10:31:59 -04:00
Fan Jiang 1bb7a00000 Add wrapping for hybrid nonlinear 2022-08-26 11:47:41 -04:00
sjxue c4184e192b fix error in python unit test 2022-08-18 19:35:06 -04:00
sjxue 746ca7856d Address review comments 2022-08-18 17:50:20 -04:00
Varun Agrawal 42bab8f3e7 use KeyVector for GNC inliers & outliers 2022-07-25 22:19:29 -04:00
Varun Agrawal eb6e56a4f8 Mark JacobianVector as opaque 2022-07-25 17:20:09 -04:00
Varun Agrawal c97b9a3bc6 Merge branch 'develop' into wrap/pybind-stl 2022-07-25 16:49:49 -04:00
senselessdev1 00cadab3b0 Merge branch 'develop' of https://github.com/borglab/gtsam into dsf-gtsfm-to-gtsam-port 2022-07-25 00:20:24 -04:00
Varun Agrawal c15d288418 Merge branch 'develop' into custom-factor-separate 2022-07-22 22:49:45 -04:00
Varun Agrawal 7edd021956 fix copying of test files in Cmake 2022-07-22 14:00:03 -04:00
Varun Agrawal 7eb9a95c5f minor fixes 2022-07-22 13:55:54 -04:00
Varun Agrawal 12b35b4142 remove pybind stl.h 2022-07-22 13:55:54 -04:00
Amado Antonini 029631e483 Merge branch 'develop' into main 2022-07-21 11:42:48 -04:00
Amado Antonini 90723d933e Remove pybind/stl.h again 2022-07-19 19:32:21 -04:00
Varun Agrawal 3d3703441c wrap custom factor in a separate file 2022-07-19 14:10:46 -04:00
Varun Agrawal d6415deac4 minor updates to sfm.h preamble 2022-07-19 12:13:20 -04:00
Varun Agrawal b60c5e3ab5 undo CustomFactor changes 2022-07-17 16:05:59 -04:00
Varun Agrawal a1d6ca207a Merge branch 'develop' into wrap/pybind-stl 2022-07-17 12:43:29 -04:00
senselessdev1 51fb3750e8 remove stray breakpoint 2022-07-17 00:31:42 -04:00
senselessdev1 361e3f601c Remove C++17 decompositions, and address comments 2022-07-16 22:29:01 -04:00
senselessdev1 6e45be3d98 fix all wrapper issues 2022-07-16 16:09:21 -04:00
senselessdev1 2434d3a41e Fix unwrapped SfmTrack2d, and instantiate generator before calling its method 2022-07-16 01:23:54 -04:00
senselessdev1 629b9cd955 clean up docstrings 2022-07-16 00:26:57 -04:00
senselessdev1 6e13456db4 Add Python unit test 2022-07-15 23:35:00 -04:00
senselessdev1 809923a6f2 Start GTSFM's DSF port to C++ 2022-07-15 23:32:03 -04:00
Amado Antonini e381a7c9d2 Revert pybind stl include 2022-07-13 23:28:45 -04:00
Amado Antonini 01ea316336 Make vector<size_t> opaque 2022-07-13 08:33:09 -04:00
Amado Antonini b4fdda4740 Run yapf 2022-07-08 16:49:04 -04:00
Amado Antonini 9dd1f8ffaf Adress review comments 2022-07-08 16:48:52 -04:00
Amado Antonini 26dd94bdaf Expose remaining attributes, add tests 2022-07-08 12:33:47 -04:00
Varun Agrawal 2ab09a580f add Python unit tests 2022-07-07 15:24:56 -04:00
yotams 7c077f8536 bugfix 2022-07-07 14:20:26 +03:00
yotams 7348586f60 1. changed interp name to slerp
2. added python tests for jacobians for some pose3 apis
2022-07-07 14:09:10 +03:00
vik748 0984fea3f5
Address matplotlib deprecation warnings for fig.gca() and window.set_title(). 2022-06-20 01:18:07 -07:00
Amado Antonini aee494a24f Expose GNC params to python 2022-06-14 17:07:29 -04:00
Varun Agrawal 2afa6781f8 fix python test 2022-06-02 09:20:43 -04:00
Varun Agrawal 7c7b5dd030 Rename files so that everything is HybridX 2022-06-01 23:52:21 -04:00
Varun Agrawal 852a9b9ef6 rename HybridFactorGraph to GaussianHybridFactorGraph 2022-05-28 14:25:12 -04:00
Varun Agrawal 3bde044248 add doc strings to python unit test and add assertions 2022-05-27 18:13:06 -04:00
Fan Jiang b8299d7ed6 Don't use Python dict method since it is not 2022-05-22 17:11:27 -07:00
Fan Jiang 2ae2cb6dc3 Don't crash anymore 2022-05-22 14:16:13 -07:00
Fan Jiang d5fd279449 Merge remote-tracking branch 'origin/develop' into fan/prototype-hybrid-tr 2022-05-21 13:56:41 -07:00
Frank Dellaert 06bc78175c
Merge pull request #1127 from borglab/feature/python/iterationHook 2022-05-13 13:48:18 -04:00
Gerry Chen 78c7a6b72c
Change `optimize_using` to simpler function call 2022-05-13 10:24:49 -04:00
Frank Dellaert 953aa9f5b0
Merge pull request #1194 from borglab/feature/saveTriangulation 2022-05-11 15:30:28 -04:00
Varun Agrawal 1d67019f54 remove user flag for pip install 2022-05-11 12:06:11 -04:00
Frank Dellaert b78a4e64b1 Include all constructors, methods 2022-05-11 10:11:57 -04:00
Frank Dellaert e5c87a869c
Merge pull request #1193 from borglab/fix/ellipses 2022-05-11 08:13:39 -04:00
Frank Dellaert db371c2fdb Added safe triangulation tests 2022-05-11 00:28:01 -04:00
Frank Dellaert 287ea28920 Camera sets 2022-05-11 00:27:50 -04:00
Frank Dellaert ce2cf723ad Merge branch 'develop' into fix/ellipses 2022-05-10 22:58:19 -04:00
Frank Dellaert de1827ca40 Added notebook with SenselessDev code. 2022-05-10 22:50:10 -04:00
Akshay Krishnan 29787373a6 update python test constructor 2022-05-10 17:46:52 -07:00
Frank Dellaert 638d391a01
Merge pull request #1177 from senselessDev/fix/ellipses 2022-05-10 19:06:00 -04:00
Akshay Krishnan 3a81d42d2c
Merge branch 'develop' into ta-add-methods 2022-05-09 22:49:34 -07:00
Akshay Krishnan e17eddf99f move values from params to run, remove params struct 2022-05-09 22:46:16 -07:00
Varun Agrawal fb1da007f8
Merge pull request #1187 from borglab/dot-printer 2022-05-08 18:13:14 -04:00
Fan Jiang 1bf995234a Merge remote-tracking branch 'origin/develop' into fan/prototype-hybrid-tr 2022-05-08 11:45:22 -07:00
Akshay Krishnan c0e5ce9ef9 wrapper updates 2022-05-07 18:28:54 -07:00
Fan Jiang e2a2634652 Finally debugged the root cause! 2022-05-07 15:53:36 -07:00
Akshay Krishnan 2e8d8ddf88 Merge branch 'develop' of github.com:borglab/gtsam into ta-add-methods 2022-05-05 21:49:51 -07:00
Akshay Krishnan 279b9bedf9 wrapper changes 2022-05-05 18:52:01 -07:00
Varun Agrawal 1d77ba55e4 fix python test 2022-05-05 16:49:03 -04:00
Fan Jiang 28b216b72f Correct the binding for BinaryMeasurement 2022-05-03 16:24:09 -04:00
Fan Jiang 86b9761b5b Also copy the preambles and specializations 2022-05-03 13:57:48 -04:00
Fan Jiang fcec6839d3 added SfmTracks and SfmCameras so we can easily
access them in Python
2022-05-03 13:56:41 -04:00
Varun Agrawal e704b40ab5 typo fix 2022-04-29 18:19:08 -04:00
Varun Agrawal ba6c3ccc1c Merge branch 'develop' into add-Similarity2-classes 2022-04-29 18:08:23 -04:00
Varun Agrawal ad2e347c12 update assertions 2022-04-29 18:08:18 -04:00
senselessDev 7fe577b553 update explanation of uncertainty ellipses, try to fix #1067 2022-04-22 18:54:59 +02:00
Gerry Chen 1e03c8b195 reset captured stdout buffer for each test 2022-04-20 16:55:51 -04:00
Gerry Chen 48310cf8d4
fix bug that python utils files don't regenerate upon edit 2022-04-20 16:33:50 -04:00
Gerry Chen 5796fe3488 Create convenience wrapper function in logging_optimizer 2022-04-20 16:21:59 -04:00
Gerry Chen 61eef0639a Partially Revert "Update `logging_optimizer.gtsam_optimize` to use NonlinearOptimizerParams::iterationHook"
This reverts commit 71aa20ff33.
2022-04-20 15:44:17 -04:00
Gerry Chen 2a17bb1715 Revert "Add comment to docstring of `gtsam_optimize`"
This reverts commit 5cfc87010d.
2022-04-20 15:40:09 -04:00
Gerry Chen 5cfc87010d
Add comment to docstring of `gtsam_optimize` 2022-04-19 16:10:36 -04:00
Gerry Chen 71aa20ff33
Update `logging_optimizer.gtsam_optimize` to use NonlinearOptimizerParams::iterationHook 2022-04-19 16:03:38 -04:00
Fan Jiang da09271d97 Remove print 2022-04-17 17:04:40 -04:00
Fan Jiang f212ac363a Add Cal3Unified unit test 2022-04-17 17:04:19 -04:00
Fan Jiang 693f05b04a Use rations numbers in test 2022-04-17 16:50:23 -04:00
Fan Jiang 923c57e68b Address comments 2022-04-17 16:03:00 -04:00
Fan Jiang 1fe7e743c4 Merge remote-tracking branch 'origin/develop' into fan/prototype-hybrid-tr 2022-04-16 15:59:03 -04:00
Frank Dellaert 938d409395 Notebook 2022-04-13 21:34:54 -04:00
Frank Dellaert df7fb47d55
Merge branch 'fix/ellipses' into develop 2022-04-12 13:04:24 -04:00
Fan Jiang 1232552e00
Merge pull request #1159 from shteren1/rs_wrapper
added wrapper for ProjectionFactorRollingShutter
2022-04-06 19:13:01 -04:00
yotams 936a7ac073 added test for the wrapper 2022-04-06 09:27:57 +03:00
yotams 0a06238785 added wrapper for ProjectionFactorRollingShutter 2022-04-06 08:26:50 +03:00
yotams 894605be3f added wrapper for ProjectionFactorRollingShutter 2022-04-05 08:51:03 +03:00
Frank Dellaert e8d785708f Deprecated free align in favor of named constructors with (a,b) convention 2022-03-27 00:29:28 -04:00
Frank Dellaert 628ffb1495 Matrix versions for Pose2 group action 2022-03-26 22:55:46 -04:00
Frank Dellaert bbf4e48d3c Expose Align, and add matrix version 2022-03-26 16:33:20 -04:00
Frank Dellaert 96fb72eb54 name change - no "All" needed 2022-03-26 16:19:38 -04:00
Frank Dellaert 08bbcc889e transformAllFrom/To 2022-03-26 15:57:52 -04:00
Fan Jiang 7f2fa61fb5 Added more Python examples 2022-03-25 23:28:40 -06:00
Fan Jiang d2dc620b1e Add Python bindings 2022-03-25 17:14:00 -06:00
Varun Agrawal b2ec9b01f9
Merge pull request #1146 from borglab/wrapping
Wrapping Updates
2022-03-25 09:38:58 -04:00
Varun Agrawal 1f494fd1bd update test for ISAM 2022-03-24 21:05:27 -04:00
Varun Agrawal 173919229f wrap measured and add tests 2022-03-24 21:05:14 -04:00
Varun Agrawal 9ed73270f6 update to use pip for installation and install to user directory by default 2022-03-24 16:28:34 -04:00
Frank Dellaert 206b68e56c
Merge pull request #1131 from borglab/fix/rangeISam 2022-03-20 15:28:47 -04:00
Frank Dellaert 41094dce0b Added reference 2022-03-19 15:19:33 -04:00
Frank Dellaert 383d81298c Added python notebook 2022-03-19 14:57:17 -04:00
Varun Agrawal 23c6a7e392 comment out failing python code since it is out of scope 2022-03-11 12:32:54 -05:00
Varun Agrawal ebc75e3a8d added test for ordering in Python 2022-03-11 08:42:40 -05:00
Gerry Chen 5f601f76d5
add iteration hook to NonlinearOptimizerParams 2022-03-08 09:57:11 -05:00
Gerry Chen bf8137b0c4
refactor python NonlinearOptimizerTest 2022-03-08 09:48:05 -05:00
Varun Agrawal 37ae7038fa Fix tests 2022-02-06 12:27:50 -05:00
Varun Agrawal 464af9f711 Fix syntactic errors in test_Sim2.py 2022-02-06 11:28:24 -05:00
Varun Agrawal c716f63219 wrap Pose2Pairs 2022-02-06 11:26:29 -05:00
Varun Agrawal 19335972ed Merge branch 'develop' into add-Similarity2-classes-2 2022-02-06 10:50:11 -05:00
Frank Dellaert 72772b1f41 Add header back in 2022-02-05 18:41:57 -05:00
Frank Dellaert 13092f6218 Add test for dot 2022-02-05 18:41:57 -05:00
Varun Agrawal 001014e159
Merge pull request #1083 from borglab/fixes/wrapper
Fixes to get matlab wrapper working properly
2022-02-02 10:12:07 -05:00
Frank Dellaert fb1e3c3df1
Merge pull request #1082 from borglab/fix/sfm_reading
Cleaned up loading SfmData
2022-02-01 21:15:02 -05:00
Varun Agrawal 134e82836e Fixes to get matlab wrapper working properly 2022-02-01 19:08:46 -05:00
Frank Dellaert f5f5f0d50d str ! 2022-02-01 15:59:28 -05:00
Varun Agrawal ad0d7e4b21
Merge pull request #1053 from senselessDev/develop 2022-02-01 15:55:31 -05:00
Frank Dellaert c7fb4a1619 Address comments 2022-02-01 15:20:10 -05:00
Frank Dellaert bc721e7736 Merge branch 'develop' into fix/sfm_reading 2022-01-31 23:38:22 -05:00
Frank Dellaert 236dbcb60b
Merge pull request #1078 from borglab/feature/sfm_data 2022-01-31 23:36:57 -05:00
Varun Agrawal fbe9a21070 attempt to get custom factor tests passing 2022-01-31 18:55:40 -05:00
Varun Agrawal ef912eefd3 minor cleanup 2022-01-31 18:53:39 -05:00
Frank Dellaert f04d8125ef Fixed print_ -> print 2022-01-31 18:30:19 -05:00
Varun Agrawal c68c986321 Fix IndexPairVector wrapping 2022-01-31 17:54:50 -05:00
Frank Dellaert 113fbf10fe Fix test 2022-01-31 16:44:45 -05:00
Frank Dellaert 7adc9898ad Keys for poses/cameras are naked 2022-01-31 16:22:26 -05:00
Varun Agrawal fe9c5718bb update CMake ignore list 2022-01-31 14:09:57 -05:00
Varun Agrawal 042c236123 update python tests 2022-01-31 14:08:13 -05:00
Frank Dellaert 5d6b8f445e Add to wrapper 2022-01-31 13:44:28 -05:00
Varun Agrawal b93145cd89 remove unneeded code 2022-01-31 13:33:09 -05:00
Varun Agrawal f5da852222 remove KeyVector 2022-01-31 12:49:06 -05:00
Frank Dellaert 762e8097bb nr -> number 2022-01-31 12:46:42 -05:00
Varun Agrawal 19287ad5c8 fix geometry modules 2022-01-31 12:15:43 -05:00
Varun Agrawal 394bb82dba remove unnecessary includes 2022-01-31 12:14:31 -05:00
Varun Agrawal d0279d2738 Add pybind11/stl.h and get it compiling 2022-01-31 11:57:31 -05:00
Frank Dellaert 10fa7387a7 Fix test 2022-01-31 08:36:56 -05:00
Frank Dellaert 3d51989f2e Deprecated incorrectly named methods 2022-01-31 08:32:44 -05:00
Frank Dellaert cd94e7dda2 fix python example 2022-01-31 07:23:36 -05:00
Frank Dellaert 1cc67754d3 fix argument name 2022-01-30 14:04:32 -05:00
senselessDev 65d72ab7a1 adapt examples to new direct member access 2022-01-29 22:35:24 +01:00
Calvin e524e2806b Updated comments to reflect standard deviations instead of variances in the discussions regarding the values for k. 2022-01-28 14:16:30 -06:00
Calvin 1b817760dd Changed all instances of the Sigma value, k, to 5 for plotting the covariance ellipse. 2022-01-28 13:31:11 -06:00
Frank Dellaert 55d839989d Fix wrapping 2022-01-28 11:59:39 -05:00
Frank Dellaert 01f3fe50e4 Merge branch 'develop' into wrap-karcher-mean-rot3 2022-01-28 10:59:31 -05:00
John Lambert 56312d91be
use Eigen::aligned_allocator 2022-01-27 15:35:51 -05:00
John Lambert e0b37ed7ad
use Eigen::aligned_allocator 2022-01-27 15:35:41 -05:00
Frank Dellaert 34e92995e7 Distinguish writer from formatting 2022-01-27 14:34:24 -05:00
John Lambert 15c3dd4b0e
make vector of Rot3's opaque 2022-01-26 18:00:30 -07:00
John Lambert 6678fe01ad
add Rot3Vector to python/CMakeLists.txt 2022-01-26 17:59:20 -07:00
John Lambert 9e63911835
add Rot3Vector type to specializations 2022-01-26 17:58:36 -07:00
Frank Dellaert 2fda2a1c00 Added inference module 2022-01-26 08:13:09 -05:00
Frank Dellaert 4e5a1b29a1
Merge pull request #1066 from borglab/feature/sumProduct 2022-01-26 07:55:10 -05:00
Frank Dellaert 11c5bb9766
Fix docs (#1064) 2022-01-26 01:16:25 -05:00
Calvin d9a00ded23 Modified the scaling values for plotting uncertainty ellipses to properly display 3 standard deviations for both 2D and 3D cases. 2022-01-25 16:39:05 -06:00
Frank Dellaert 09fa002bd7 Python 2022-01-25 17:31:49 -05:00
Frank Dellaert f43900fc89
Merge pull request #1059 from senselessDev/expose_graphvizformatting 2022-01-24 11:18:39 -05:00
senselessDev b35ed16675
remove --prefix for setup.py 2022-01-24 13:59:58 +01:00
senselessDev 79038b1b46 dont copy GT copyright 2022-01-24 09:21:48 +01:00
senselessDev fb0575720c consider CMAKE_INSTALL_PREFIX for python-install target 2022-01-23 14:48:39 +01:00
senselessDev 67ca0b9c4e add python test files to test target dependencies 2022-01-23 14:19:26 +01:00
senselessDev 020071719e expose GraphvizFormatting and test it in Python 2022-01-23 13:39:21 +01:00
Frank Dellaert e3c98b0faf Fix python tests 2022-01-21 18:12:30 -05:00
Frank Dellaert ad21632fd2 fix typos 2022-01-21 17:35:33 -05:00
Varun Agrawal ee7d32d242
Merge pull request #1042 from magicbycalvin/develop
Added a convenience function for plotting 2D points.
2022-01-19 12:33:35 -05:00
Calvin 2430917e03 Removed a spurious commented line and included a comment about what the K value signifies. 2022-01-18 12:57:48 -06:00
Frank Dellaert 10e1bd2f61 sample variants 2022-01-17 22:59:17 -05:00
Frank Dellaert a74da73936
Merge pull request #1020 from borglab/feature/robustTriangulation 2022-01-17 22:26:08 -05:00
Frank Dellaert 4235334c83 Rename DiscretePrior -> DiscreteDistribution 2022-01-16 13:09:32 -05:00
Varun Agrawal 0b11b12760 fix tests 2022-01-16 12:02:22 -05:00
Frank Dellaert 64cd58843a marginals without parents 2022-01-15 16:41:29 -05:00
Frank Dellaert 23a8dba716 Wrapped multiplication 2022-01-15 15:33:01 -05:00
Frank Dellaert c15bbed9dc exposing more factor methods 2022-01-15 08:44:10 -05:00
Frank Dellaert be5aa56df7 Constructor from PMF 2022-01-15 08:15:46 -05:00
Calvin 2e8dcdd410 Added a convenience function for plotting 2D points. 2022-01-13 18:11:55 -06:00
John Lambert 0ff9110f3c
add missing type hint annotation import 2022-01-12 15:39:09 -07:00
John Lambert 0f1ff48db5
add missing type hint import 2022-01-12 16:49:12 -05:00
John Lambert e2993eafe6
yapf pep8 reformat 2022-01-12 13:41:54 -05:00
John Lambert f009a14151
add missing type hint 2022-01-12 13:24:08 -05:00
John Lambert d66b1d7a84
fix syntax errors 2022-01-12 13:01:23 -05:00
John Lambert b60ca0c107
Update test_Triangulation.py 2022-01-12 09:57:59 -07:00
Frank Dellaert a7b7a8b0fa Working html for conditionals 2022-01-09 10:20:59 -05:00
Frank Dellaert 8c3d512629 Fixed python test 2022-01-02 23:24:03 -05:00
Frank Dellaert c51bba81d8 Fix sample() 2022-01-02 22:30:26 -05:00
Frank Dellaert a38de28535 Tested python wrapper without Lie* 2022-01-02 15:00:49 -05:00
John Lambert fa38b297af forece nonnegative scale for Sim(3) 2021-12-30 12:50:26 -05:00
Frank Dellaert a6ea6f9153 single-value sample() 2021-12-28 17:49:18 -05:00
Frank Dellaert 340ac7569d Removed 2 and 3 key constructors for DecisionTreeFactor because wrapper is awesome! 2021-12-28 13:00:14 -05:00
Frank Dellaert 93e9756ef0 Removed all specialized constructors, because wrapper is awesome! 2021-12-28 09:47:18 -05:00
Frank Dellaert 911819c7f2 enumerate 2021-12-27 13:55:11 -05:00
Frank Dellaert c622dde7a7 Fix typo in test 2021-12-27 13:55:05 -05:00
Frank Dellaert 457d074858 likelihood 2021-12-27 13:01:29 -05:00
Frank Dellaert dbe5c0fa81 Allow a vector of doubles for single-variable factors 2021-12-26 23:42:12 -05:00
Frank Dellaert 3339517340 Additional DiscreteConditional constructors to support wrapper. 2021-12-26 16:54:21 -05:00
Frank Dellaert a1b8f52da8 Wrap single-argument methods 2021-12-26 15:25:33 -05:00
Frank Dellaert 4727783304 Wrap DiscretePrior 2021-12-26 14:11:46 -05:00
Varun Agrawal ffa73a47ee Add DiscreteConditional unit test for markdown printing 2021-12-25 09:33:04 -05:00
Frank Dellaert 00c4af16ec markdown for DiscreteBayesTree 2021-12-24 14:34:47 -05:00
Frank Dellaert b29b0eaa1c Test and dot file 2021-12-23 18:20:00 -05:00
Varun Agrawal 3f20c0016e make gtsam_unstable conform to python wrapping layout 2021-12-22 14:19:22 -05:00
Frank Dellaert a5351137ab Show factor graph in notebook 2021-12-20 00:26:13 -05:00
Frank Dellaert 74951bee33 wrap and notebook 2021-12-19 22:39:22 -05:00
Frank Dellaert 7257797a5f Wrap () operators 2021-12-16 13:52:58 -05:00
Frank Dellaert a4dab12bb0 Wrapped and test Discrete Bayes Nets 2021-12-15 21:57:58 -05:00
Frank Dellaert f59342882a Use evaluate not value 2021-12-15 06:34:46 -05:00
Frank Dellaert ebc37eeba5 Wrapped more DiscreteFactorGraph functionality 2021-12-15 06:07:20 -05:00
Frank Dellaert 02dbcb4989 Get rid of "and" business 2021-12-13 08:55:32 -05:00
Frank Dellaert 16672daf83 Merge branch 'develop' into feature/discrete_wrapper 2021-12-13 08:42:42 -05:00
Frank Dellaert 5a2ce5af3b wrapped and tested EssentialMatrixConstraint 2021-12-11 13:21:15 -05:00
Frank Dellaert 7891154d8e Merge branch 'develop' into feature/discrete_wrapper 2021-12-06 13:22:25 -05:00
roderick-koehle 8846324b34
Merge branch 'borglab:develop' into Fix-Cal3Fisheye-Jacobian 2021-11-22 21:05:15 +01:00
Gerry Chen 496a206d08
Merge pull request #922 from borglab/feature/Pose3adjointJacobians
Add Jacobian of second argument to `adjoint` and `adjointTranpsose`
2021-11-11 02:32:46 -05:00
Varun Agrawal cd7cb2e137
Merge pull request #921 from borglab/fix/python-tests 2021-11-10 22:41:46 -05:00
Gerry Chen d86fc98706
update python wrapper 2021-11-10 19:01:31 -05:00
Varun Agrawal 0cbec6736a update cmake to copy python tests whenever they are updated 2021-11-10 18:23:38 -05:00
Varun Agrawal 0ccb18b055 add return type definitions
Because my time is more valuable than a reviewer's pedanticness
2021-11-10 14:27:28 -05:00
Varun Agrawal 5c9c60a0be address reviewer comments 2021-11-10 13:57:31 -05:00
Varun Agrawal 1bcb44784a format and refactor the SFM BAL example 2021-11-09 18:19:47 -05:00
John Lambert 60053906a6
add python unit tests 2021-11-06 16:15:20 -04:00
Varun Agrawal 41dc3f876b
Merge pull request #872 from borglab/fix/imu-examples 2021-10-29 09:34:09 -04:00
Varun Agrawal b15297ae40 address review comments 2021-10-28 15:19:36 -04:00
jerredchen 99ce18c857 formatting by Google style 2021-10-28 12:29:00 -04:00
jerredchen 44fa7e552e Merge branch 'develop' of https://github.com/borglab/gtsam into origin/feature/python_examples 2021-10-28 10:00:38 -04:00
roderick-koehle 296c937ca8
Fix calling scaling_factor static method. 2021-10-28 15:55:25 +02:00
Varun Agrawal d98e6e500a address review comments 2021-10-28 09:51:31 -04:00
roderick-koehle 2763bd8968
Convergence of equidistant scaling utilizing atan2 2021-10-28 14:34:04 +02:00
roderick-koehle 91103d5f47
Check numeric stability close to optical axis 2021-10-28 11:20:12 +02:00
roderick-koehle f8444813ae
Merge branch 'borglab:develop' into Fix-Cal3Fisheye-Jacobian 2021-10-28 11:15:17 +02:00
jerredchen c51a1a2309 removed ground truth; set ang in deg and convert to rad for Pose3iSAM2 2021-10-27 22:35:03 -04:00
jerredchen e31beee22b removed ground truth; angles set in deg and converted to rad 2021-10-27 22:33:11 -04:00
Frank Dellaert f50f963e57 Add main 2021-10-27 13:44:54 -04:00
Varun Agrawal 15e57c7ec8 specify optional args as Optional type 2021-10-27 10:03:31 -04:00
Varun Agrawal 755484c579 fix small bug 2021-10-27 10:01:50 -04:00
Varun Agrawal e4a2af5f3f address review comments 2021-10-27 09:58:07 -04:00
Varun Agrawal d852c7e79b update CMake 2021-10-25 13:01:58 -04:00
jerredchen 79f7861f0c made changes according to Frank 2021-10-24 15:34:49 -04:00
Varun Agrawal c56579c61d
Merge pull request #903 from borglab/feature/python-examples 2021-10-23 01:06:09 -04:00
Varun Agrawal cb0e62b1ad
Merge pull request #899 from borglab/add-pose2-lago-to-wrapper 2021-10-22 22:17:15 -04:00
Varun Agrawal f8f93cab21 add type annotations 2021-10-22 19:28:11 -04:00
John Lambert a93c58abd6
use Point3 instead of artificial vector3 2021-10-22 15:05:37 -04:00
John Lambert d48b7371bb
use Point3 instead of artificial vector3 2021-10-22 15:05:05 -04:00
Varun Agrawal 430530ca54 put all example scripts inside main() functions and apply formatting 2021-10-22 14:40:30 -04:00
roderick-koehle 1640f172e6
Test jacobian of Cal3Unified for on-axis point 2021-10-22 19:34:27 +02:00
roderick-koehle 0a1fead551
Test of jacobian of Cal3Fisheye for on-axis point 2021-10-22 19:33:06 +02:00
John Lambert bc68ecb5ab
use unittest framework instead of pytest 2021-10-22 01:18:51 -04:00
Varun Agrawal b3e8bf2325 fix the included_imu_measurement_count scope 2021-10-21 18:45:57 -04:00
Varun Agrawal 1e84fd9cc4 refactor the example to make it cleaner 2021-10-21 16:33:32 -04:00
John Lambert 84d291003f
add lago unit test, since lago namespace cannot be imported properly be wrapper 2021-10-21 16:14:44 -04:00
John Lambert 3ce02ba21e
fix typos in python example file 2021-10-21 16:08:33 -04:00
Varun Agrawal 03ac36c8c3 use python f-strings 2021-10-21 15:12:31 -04:00
Varun Agrawal 279c645028 fix type annotation 2021-10-21 15:08:21 -04:00
Varun Agrawal 86ab7d323a Merge branch 'develop' into fix/566 2021-10-21 15:02:33 -04:00
Varun Agrawal 6145466dec add type annotations 2021-10-21 15:02:24 -04:00
John Lambert b9f10cdb15
use nested namespace 2021-10-21 11:04:06 -06:00
John Lambert c5e24dbae4
add LAGO example to Python 2021-10-21 10:37:00 -04:00
Varun Agrawal 21c1945334 address review comments 2021-10-18 12:23:38 -04:00
Varun Agrawal 7793a2ddc1 clean up the __init__ file 2021-10-18 09:16:49 -04:00
Varun Agrawal 108c77b57a use variables to store targets 2021-10-18 08:56:08 -04:00
jerredchen 00c541aca6 adjusted docstrings to match google style guide 2021-10-14 13:42:21 -04:00
John Lambert 80ebd5a63b
Add specific examples to stress-test the log map 2021-10-13 19:41:04 -04:00
jerredchen 47c45c633f Added minor comments for documentation 2021-10-13 11:03:40 -04:00
jerredchen 859c5f8d07 added new Python examples using iSAM2 2021-10-13 00:13:05 -04:00
Fan Jiang 64bbc79bf6 Add wrapping and tests 2021-10-08 16:06:09 -04:00
John Lambert 225ac77f2f
fix assert 2021-10-07 21:04:58 -04:00
John Lambert 0b0897d465
fix typo 2021-10-07 17:21:22 -04:00
John Lambert bb87dcf759
add python unit test for Rot3 2021-10-07 17:20:47 -04:00
Frank Dellaert 055d8c7495 Added WIP python test 2021-10-04 21:56:39 -04:00
Frank Dellaert e022084a06 Added wrapper files 2021-10-04 21:56:06 -04:00
Varun Agrawal 7076244b60 update template to record correct name of cpp file 2021-09-10 11:53:41 -04:00
Varun Agrawal 19850425b8 clean up and refactoring to use custom preintegration params 2021-09-10 11:02:14 -04:00
Varun Agrawal 5131f6b0a6 fix matplotlib deprecation 2021-09-03 08:05:11 -04:00
Varun Agrawal 67a26c1f93 refactor to remove all pylint errors 2021-09-03 08:04:59 -04:00
Varun Agrawal 1205df2c07 update documentation for boost::optional binding 2021-09-01 15:32:43 -04:00
Varun Agrawal 9f661c01cf formatting 2021-09-01 15:29:39 -04:00
Varun Agrawal fbdef91c54 add support for boost::optional return type in geometry.i 2021-09-01 15:29:29 -04:00
John Lambert bc641f893d
directly import only classes from gtsam 2021-08-31 14:14:37 -04:00
John Lambert 3fc7692b4a
import align from gtsam directly 2021-08-31 08:35:43 -06:00
John Lambert 5c737c3cc4
fix missing imports 2021-08-31 09:42:49 -04:00
John Lambert 2d2ca21d1a
add python unit test on Pose2.align() 2021-08-31 09:14:59 -04:00
John Lambert cff3c5b4f4
start python unit test for align() 2021-08-31 06:26:52 -06:00
John Lambert 55785f8180
add Point2Pairs to specializations 2021-08-30 16:44:58 -04:00
John Lambert 8bd2e6a976
add gtsam::Point2Pairs to CMakeLists.txt 2021-08-30 16:44:11 -04:00
Varun Agrawal 289cb8f35b break down tests to make reporting clearer 2021-08-29 04:36:57 -04:00
Varun Agrawal 286b2fa4b0 fix python tests and make verbose so they are easy to debug 2021-08-28 15:37:06 -04:00
Gerry Chen 2f6b8d6314 docstrings and formatting 2021-08-27 12:01:06 -04:00
Gerry Chen b99bf4e929 add <pybind/stl.h> and fix constructor argument order 2021-08-27 11:23:38 -04:00
Gerry Chen 15120ce9ab python unit test for FitBasis 2021-08-27 10:41:41 -04:00
Varun Agrawal ff7ddf48bd
Basis functions (#403) 2021-08-27 08:10:31 -04:00
Varun Agrawal d4202a23ec add missing import of Pose3 2021-08-23 18:45:37 -04:00
Varun Agrawal 5baf0ce85a Update `make python-test` so that it works even if GTSAM is already installed 2021-08-23 02:14:04 -04:00
Varun Agrawal 366ad84773 wrap NonlinearEquality2 + python unit test 2021-08-23 02:13:31 -04:00
Frank Dellaert 57bdf33f6e
Merge pull request #855 from borglab/SFMdata-add-type-hints
clean up SFMdata python module
2021-08-22 11:17:03 -04:00
John Lambert 67403b0e96
clean up SFMdata 2021-08-21 21:08:37 -06:00
John Lambert 36421243aa
improve docstring 2021-08-21 20:22:53 -06:00
John Lambert 068e558d34
Expand DSF map unit tests 2021-08-21 20:16:39 -06:00
Varun Agrawal 23858f31e9 working implementation 2021-08-20 13:37:27 -04:00
Varun Agrawal 0098e76e99 full slew of tests 2021-08-20 00:55:15 -04:00
Varun Agrawal e056a3393c added Python tests 2021-08-19 23:32:52 -04:00
Fan Jiang 4ea2b2ee9a
Merge pull request #844 from borglab/add-python-type-hints
Add python type annotations to some older python files
2021-08-17 00:57:55 -04:00
John Lambert 939c3047e7
add Optional type annotations where needed 2021-08-12 20:01:03 -04:00
John Lambert db9b98030b
import GncLMParams, GncLMOptimizer to prevent pybind's automatic long names from name concat 2021-08-12 18:31:24 -04:00
John Lambert 8a97f7ddeb
add missing docstring for an input arg 2021-08-12 09:15:33 -04:00
John Lambert 1684cb1bf4
add missing type hint 2021-08-12 09:09:37 -04:00
John Lambert c0ae0ccd68
add more missing type hints 2021-08-12 08:11:34 -04:00
John Lambert 68794468f2
clean up plot.py with modern type hints 2021-08-12 08:06:12 -04:00
John Lambert 678d1c7270
add type hints to visual_data_generator.py 2021-08-12 07:48:23 -04:00
John Lambert c20fcc5a7c
add type hints, use numpy instead of math module 2021-08-12 07:44:56 -04:00
John Lambert 85e58a78bb
clean up test_Pose3SLAMExample.py 2021-08-12 07:41:45 -04:00
John Lambert c9bcb1430c
test GNC along with other non-linear optimizers in python unit tests 2021-08-12 03:26:53 -04:00
John Lambert 651815724b
try imports 2021-08-11 21:33:10 -04:00
Varun Agrawal f6a432961a first pass at IMUKittiExampleGPS.py 2021-08-01 05:25:56 -07:00
Varun Agrawal 2dd22c64fd Merge branch 'develop' into feature/wrap-multiple-interfaces 2021-07-14 21:56:09 -04:00
Varun Agrawal 6919ad9277 update interface files with latest develop 2021-07-14 21:53:20 -04:00
roderick-koehle c2bbe78e86
Remove comment 2021-07-14 11:16:00 +02:00
roderick-koehle 16cfc7fd38
Remove commented out line 2021-07-14 11:15:10 +02:00
roderick-koehle 305521e014
Merge branch 'borglab:develop' into python-fisheye-interface 2021-07-14 09:37:32 +02:00
roderick-koehle d130387a7d
Minor fix test_Cal3Fisheye 2021-07-13 22:12:14 +02:00
roderick-koehle 3e41ece75a
Minor fix test_Cal3Unified 2021-07-13 22:10:38 +02:00
roderick-koehle 17c37de7c4
Shared setup triangulation unit test 2021-07-13 22:07:19 +02:00
roderick-koehle 3402e46ad1
Shared data for triangulation unit tests 2021-07-13 22:00:21 +02:00
John Lambert fa42d96360
Merge pull request #817 from borglab/wrapper-shonan-averaging-2
Add ShonanAveraging2 interface to wrapper with BetweenFactorPose2s, that does not require g2o files
2021-07-13 13:37:34 -06:00
John Lambert 54d3471121
update logic in angular error comparison 2021-07-13 08:18:45 -06:00
roderick-koehle f53f5db4d1
Merge branch 'borglab:develop' into python-fisheye-interface 2021-07-13 12:03:10 +02:00
John Lambert c4a4e13196
fix assert on angles 2021-07-13 00:16:24 -06:00
John Lambert d7151ed284
use mod when comparing angles 2021-07-12 20:52:36 -04:00
John Lambert cce952fbb3
use simple example for unit test 2021-07-12 19:35:34 -04:00
John Lambert 690300124c
fix typo 2021-07-11 22:47:14 -04:00
John Lambert 61c5e89de3
try increasing pmax to pass test 2021-07-11 22:46:54 -04:00
Varun Agrawal 17842dcea7 fixes 2021-07-11 08:10:11 -07:00
Varun Agrawal e8e3094556 update CMake 2021-07-11 08:10:09 -07:00
Varun Agrawal 54063934fa update template for wrapper 2021-07-11 08:10:06 -07:00
Varun Agrawal f33e6a801f break up preamble and specializations so there are no duplicate includes 2021-07-11 08:10:05 -07:00
roderick-koehle c595767cae
Unittest, triangulation for Cal3Unified 2021-07-11 14:14:08 +02:00
roderick-koehle 941594c94b
Testing CameraSet and triangulatePoint3
Currently triangulatePoint3 returns wrong results for fisheye models. The template for PinholePose may be implemented for a fixed size of variable dimensions.
2021-07-11 14:11:40 +02:00
roderick-koehle 0a73961f5a
Update ignore list in CMakeFile 2021-07-10 23:05:53 +02:00
roderick-koehle 3118fde6d3
Missing CameraSet binding specialisations
Add pybind specialisations for CameraSetCal3Unified and CameraSetCal3Fisheye.
2021-07-10 23:00:24 +02:00
John Lambert aebb90573a
set pmin and pmax in unit test 2021-07-10 11:41:46 -04:00
John Lambert 63236cf7af
improve wrapper compilation instructions, when TBB not installed 2021-07-10 11:37:59 -04:00
John Lambert db801f164d
add missing import to python unit test 2021-07-10 10:31:27 -04:00
John Lambert 64514387b4
check in python unit test for new functionality 2021-07-10 00:57:01 -04:00
roderick-koehle 6205057ccb
Use of common setUpClass method 2021-07-09 11:17:38 +02:00
roderick-koehle bdeb60679b
Introduce setUpClass, python snake_case variables
Test case fails if object depth z is not equal 1.
2021-07-09 11:14:10 +02:00
roderick-koehle 19e8cde733
Extend unit testing of omnidirectional projection
Test projection function and factors using a stereoscopic (xi=1) reference model, i.e the image height is given by y = 2 f tan(theta/2).
2021-07-08 19:59:56 +02:00
roderick-koehle c8fc3cd216
Unit test for equidistant fisheye 2021-07-08 19:53:41 +02:00