Commit Graph

637 Commits (02c8f02a104a57f59c5793bb5c78f1470da249c2)

Author SHA1 Message Date
Varun Agrawal c1ebdb200c update python tests 2024-09-17 14:53:31 -04:00
Varun Agrawal 1c74da26f4 fix python tests 2024-09-15 09:46:33 -04:00
Varun Agrawal 629989f9ee formatting 2024-09-13 06:20:46 -04:00
Varun Agrawal aef273bce8 rename GaussianMixture to HybridGaussianConditional 2024-09-13 05:41:24 -04:00
Varun Agrawal 187935407c rename MixtureFactor to HybridNonlinearFactor 2024-09-13 05:40:00 -04:00
Varun Agrawal 6a92db62c3 rename GaussianMixtureFactor to HybridGaussianFactor 2024-09-13 00:24:18 -04:00
Fan Jiang e3dd4e1704 Fix compile error on Clang 18, tweak for better type generation 2024-09-08 14:58:27 -04:00
Joel Truher 867f63d600 added SelfCalibrationExample.py 2024-08-29 08:42:27 -07:00
Joel Truher 25a5f81070 add example CameraResectioning.py 2024-08-28 08:18:53 -07:00
Varun Agrawal c57d5a0f70 Updated porting progress 2024-08-25 07:23:31 -04:00
Varun Agrawal b2e4fa2112 tests for dunder methods 2024-01-16 15:17:26 -05:00
Varun Agrawal 9d70605d48
Merge pull request #1681 from borglab/fix-1675 2023-12-07 17:01:20 -05:00
Varun Agrawal 6f365b330b fix call to Ellipse, plus some formatting 2023-12-04 05:04:06 -05:00
Varun Agrawal e56e9b5ef9 fix unittest assertion deprecation 2023-11-06 11:05:50 -05:00
Varun Agrawal c4d11c498c fix unittest assertion deprecation 2023-11-06 11:05:23 -05:00
Varun Agrawal 36dc04d126 override WeightMatrix for Chebyshev2 2023-10-28 11:24:31 -04:00
Varun Agrawal 4de8f149f8 fix docstring 2023-09-28 07:18:11 -04:00
Clark Taylor 039f5cf711
Update CustomFactorExample.py with comments to explain typing 2023-09-01 14:18:45 -04:00
Clark Taylor 8ee9f20537
Update CustomFactorExample.py to correctly document return types 2023-09-01 14:15:39 -04:00
senselessdev1 8c321ba226 add fix 2023-08-30 11:17:40 -04:00
senselessdev1 2b5e22ccb5 remove scales arg to Keypoints 2023-08-30 10:54:30 -04:00
senselessdev1 f205ff3766 fix typo 2023-08-30 10:28:18 -04:00
senselessdev1 db6a559fb9 add another unit test 2023-08-30 10:22:36 -04:00
Fan Jiang 7d04f4bce6 Add custom unit test for Python robust function 2023-08-21 10:59:14 -04:00
Frank Dellaert 57291e132f added examples and a test on pMin 2023-07-19 13:09:13 +02:00
Frank Dellaert 6eeceb679a Fix unit tests 2023-07-17 16:55:20 +02:00
Frank Dellaert 433ef9050f Better test names
(cherry picked from commit 3edde4d693)
2023-07-17 16:55:20 +02:00
Frank Dellaert a4b9f0c705 more discrete BT wrapper + test
(cherry picked from commit 3d979763f0)
2023-07-17 16:55:20 +02:00
Frank Dellaert 3a9f5578d6 multifrontal MPE in python
(cherry picked from commit 10f30e1ca9)
2023-07-17 16:55:20 +02:00
Frank Dellaert ea12d0dac9 Test more things in BayesTree
(cherry picked from commit c8fe2fcff2)
2023-07-17 16:55:20 +02:00
Frank Dellaert d5f62dd4ee wrapped List[float] constructor
(cherry picked from commit e1802814ca)
2023-07-17 16:55:20 +02:00
Frank Dellaert 968a72344c Fixed regression test 2023-07-17 16:55:20 +02:00
Varun Agrawal a14fb8db7d formatting and fix 2023-07-06 04:12:39 -04:00
Varun Agrawal 93ed850c6c get tests working 2023-07-05 13:14:16 -04:00
Varun Agrawal 42e8f498e7 added tests for newly wrapped isam2 methods 2023-07-05 12:44:42 -04:00
Varun Agrawal 6992f0d64c added test for full ISAM2 update method 2023-07-05 12:37:25 -04:00
Varun Agrawal 0ac12c9d32 add tests for Python wrapper backwards compatibility 2023-06-21 16:02:37 -04:00
Varun Agrawal 6f94f52f41 modernize main tests 2023-06-21 16:02:18 -04:00
Varun Agrawal 1f951f7dfe add typedefs to ensure backwards compatibility 2023-06-20 10:06:12 -04:00
Varun Agrawal 55ce145bf7 undo changes to tests to ensure backwards compatibility 2023-06-20 10:05:52 -04:00
Varun Agrawal 2340f1aa09 uncomment test 2023-06-16 05:53:50 -04:00
Varun Agrawal 31adb3ed45 fix remaining python tests 2023-06-15 16:34:37 -04:00
Varun Agrawal 5b588f2ea7 update sfm module 2023-06-15 16:30:10 -04:00
Varun Agrawal 7c22b03b9e Merge branch 'develop' into wrap/pybind-stl 2023-06-15 15:46:38 -04:00
roderick-koehle db6792c894
Fix invalid rotation matrix in test_rotate()
The python unittest `test_Rot3` fails in case gtsam is compiled with cmake option `-D GTSAM_USE_QUATERNION=ON`.
The cause of the test failure is an invalid rotationmatrix with negative determinant in `test_rotate()`.
2023-03-24 14:46:00 +01:00
Varun Agrawal 814c4a6e6f Merge branch 'develop' into combined-imu-factor 2023-03-01 15:50:54 -05:00
Varun Agrawal e4b1505e38 fix ImuFactor examples to show correct prediction values 2023-03-01 15:40:55 -05:00
Frank Dellaert 1bf6954372 Merge branch 'develop' into wrapper/update 2023-02-23 08:07:33 -08:00
Frank Dellaert 2ce0b57f05 Fixed python wrapper 2023-02-20 08:20:16 -08:00
Varun Agrawal 9a38b57144 update wrapper files to new version 2023-02-18 19:34:23 -05:00
Kevin 92443f5378 Simply sum-product test in Python. 2023-02-11 20:04:43 -05:00
Kevin 548509f28b First pass at underflow test for sum-product. 2023-02-10 17:02:27 -05:00
Kevin 0710a8a893 Add normalization trick to sum-product. 2023-02-08 14:15:32 -05:00
Kevin 571b0f5e90 Add toy problem testing max-product underflow. 2023-02-07 10:43:16 -05:00
Varun Agrawal 3b21f4779d separate .i file for Values 2023-02-05 18:08:58 -05:00
kartik arcot 852e8768c0 shared_ptr, make_shared, allocate_shared 2023-01-22 08:40:02 -08:00
kartik arcot d886e78afa disabled two python tests 2023-01-21 09:27:20 -08:00
kartik arcot cccad07849 diabled two python tests 2023-01-20 18:06:55 -08:00
Frank Dellaert 469e57122f commented out problematic python tests 2023-01-19 22:34:12 -08:00
Frank Dellaert 9af7236980 Added DEBUG_MARGINALS flag 2023-01-16 18:36:28 -08:00
Frank Dellaert 8357fc7e02 Fix python tests (and expose HybridBayesNet.error) 2023-01-16 18:04:22 -08:00
Frank Dellaert 96e3eb7d8b Some test refactoring 2023-01-16 10:30:47 -08:00
Frank Dellaert 681c75cea4 Expose toFactorGraph to wrapper 2023-01-16 10:30:47 -08:00
Frank Dellaert 51c46410dc Make sure all conditional methods can be called in wrappers and satisfy invariants there, as well. 2023-01-14 13:24:54 -08:00
Frank Dellaert 28f440a623 Resolved review comments. 2023-01-11 18:11:28 -08:00
Frank Dellaert 87ff4af32d Wrapper and tests for logProbability 2023-01-10 23:13:40 -08:00
Frank Dellaert 2e233364b6 Merge branch 'develop' into hybrid/refactor
# Conflicts:
#	gtsam/hybrid/HybridGaussianFactorGraph.cpp
#	gtsam/hybrid/tests/testHybridGaussianFactorGraph.cpp
#	python/gtsam/tests/test_HybridNonlinearFactorGraph.py
2023-01-08 00:16:23 -08:00
Frank Dellaert 8d96b3efb9 Fix python test to not use add 2023-01-06 23:23:12 -08:00
Varun Agrawal 74998336d9 update tests 2023-01-06 10:14:24 -05:00
Frank Dellaert d49bcce780 Fix python wrapper 2023-01-05 12:58:29 -08:00
Frank Dellaert 625977ee06 Example with 2 measurements agrees with importance sampling 2023-01-02 16:07:25 -05:00
Frank Dellaert 021ee1a5d9 Deterministic example, much more generic importance sampler 2023-01-02 12:34:55 -05:00
Frank Dellaert 312ba5fd52 Synced two examples 2023-01-02 09:45:04 -05:00
Frank Dellaert 64831300a5 Print estimated marginals and ratios! 2023-01-01 11:48:08 -05:00
Frank Dellaert dcb07fea8c Test eliminate 2023-01-01 11:25:33 -05:00
Frank Dellaert cec26d16ea Check marginals in addition to ratios for non-uniform mode prior 2022-12-30 15:20:10 -05:00
Frank Dellaert 96b6895a60 Ratios now work out! 2022-12-30 13:59:59 -05:00
Frank Dellaert f22ada6c0a Added importance sampling 2022-12-30 13:16:12 -05:00
Frank Dellaert 23eec0bc6a factor_graph_from_bayes_net 2022-12-30 13:16:01 -05:00
Varun Agrawal 1beeef840b Merge branch 'develop' into hybrid/model-selection 2022-12-30 17:09:26 +05:30
Varun Agrawal 10079f6341 comment out problematic code until we figure it out 2022-12-30 14:51:04 +05:30
Varun Agrawal 5ea63be8c5 fixes based on previous PR 2022-12-30 14:23:40 +05:30
Frank Dellaert 33b073c795 Comment out printing and asserts 2022-12-29 22:39:08 -05:00
Frank Dellaert 6b2a8a9323 Show that ratio is different for different modes. 2022-12-29 16:41:31 -05:00
Frank Dellaert a4659f01c7 Add error and probPrime variants 2022-12-29 14:13:35 -05:00
Frank Dellaert 2d688a1986 Added tests to convert Hybrid BN to corresponding "likelihood" FG 2022-12-29 13:55:06 -05:00
Frank Dellaert d4ee6997f7 Remove FromConditionals 2022-12-29 13:54:44 -05:00
Varun Agrawal 1eb6fc77a0 fix formatting and other issues 2022-12-29 10:33:33 +05:30
Varun Agrawal cc2183adb3 fix wrap preamble 2022-12-29 10:32:46 +05:30
Varun Agrawal f4420f2c8d add mixture to bayesnet and fix double assert bug 2022-12-29 08:40:46 +05:30
Varun Agrawal 03baf8f75e formatting and fixes to test 2022-12-29 08:33:14 +05:30
Varun Agrawal 873f5baf56 remove unnecessary preamble and specializations for hybrid wrapping 2022-12-29 08:32:43 +05:30
Frank Dellaert 7c91fe82b4 Add evaluate test 2022-12-28 18:10:07 -05:00
Frank Dellaert fd12181ebe Cleanup 2022-12-28 18:10:00 -05:00
Frank Dellaert 1de49598af Add methods in HybridBayesNet 2022-12-28 18:09:53 -05:00
Frank Dellaert 0495f81104 Test for GBN::sample 2022-12-28 16:51:40 -05:00
Varun Agrawal af6a4f2417
Merge pull request #1302 from borglab/wrap-unit3-rot 2022-12-24 23:43:39 -05:00
Akshay Krishnan 3a2816e4fc add unrotate() test 2022-12-24 10:15:08 -05:00
Akshay Krishnan fd55e09bcc add rotate() test 2022-12-24 10:06:28 -05:00
ulterzlw 1ea6553550
Fixed Jacobian in python CustomFactorExample 2022-12-07 14:53:32 +08:00