Commit Graph

917 Commits (319585be4c2075159efbd4888b9f3edf2c225a14)

Author SHA1 Message Date
Frank Dellaert 398ff31d54 Perturb 2024-10-28 15:59:19 -07:00
Frank Dellaert 77dfa446a9 Run many trials 2024-10-28 15:59:19 -07:00
Frank Dellaert b9dc9ae459 Switch to using Cal3f 2024-10-28 15:59:19 -07:00
Frank Dellaert 5ce728ab46 Compare in F-manifold 2024-10-28 15:59:19 -07:00
Frank Dellaert fcf51faf0c Comparison script 2024-10-28 15:59:19 -07:00
Frank Dellaert 5b0580ff5f Small issues 2024-10-28 15:59:19 -07:00
Frank Dellaert 68c63ca043 Python version of ViewGraphExample.cpp 2024-10-28 15:59:19 -07:00
Frank Dellaert 4057e41a80 Python version of EssentialViewGraphExample 2024-10-28 15:59:19 -07:00
Frank Dellaert b99fa19ad8 Copy dirty examples 2024-10-28 15:59:19 -07:00
Frank Dellaert 546c571218 Clarify stubgen need 2024-10-28 15:59:19 -07:00
Frank Dellaert a8a229c10c Modernize/format 2024-10-28 15:59:19 -07:00
Frank Dellaert 2d170e4cac Fix wrapper 2024-10-28 12:15:50 -07:00
Frank Dellaert fba31d99f2 TestManyCamerasCircle 2024-10-28 10:03:50 -07:00
Frank Dellaert 56610ce5f7 Python unit tests 2024-10-28 09:34:11 -07:00
Frank Dellaert 26a3728d80 Fix createPoses 2024-10-28 08:55:49 -07:00
Varun Agrawal 94a95b69cb update tests 2024-10-15 23:43:52 -04:00
Varun Agrawal 6d57055c71
Merge pull request #1849 from borglab/fix-python-postfix
Remove postfix for compiled Python library
2024-09-27 18:10:49 -04:00
Frank Dellaert ce45bb6f2e Merge remote-tracking branch 'origin/develop' into feature/simpler_constructors 2024-09-27 13:37:40 -07:00
Frank Dellaert d93ebeafde Yet another python test 2024-09-26 17:23:44 -07:00
Frank Dellaert 71d5a6c1f1 Fix more wrapper tests 2024-09-26 16:28:56 -07:00
Varun Agrawal 234dd0930c common macro for setting python library properties 2024-09-26 18:51:18 -04:00
Varun Agrawal 5c75a52fa6 remove extra whitespaces 2024-09-26 18:50:50 -04:00
Varun Agrawal e0ce34833a remove postfix for python when compiling with Timing and Profiling 2024-09-26 18:48:44 -04:00
Frank Dellaert 1a566ea2bb Fix wrapper 2024-09-26 14:51:39 -07:00
Varun Agrawal 580dcb27f4 ignore errors in stub generation 2024-09-26 12:12:26 -04:00
Varun Agrawal e36fa332f2 Revert "Revert "Fix compile error on Clang 18, tweak for better type generation""
This reverts commit 6190e3d13f.
2024-09-26 11:51:41 -04:00
Varun Agrawal e023360843 Revert "Revert "Use pybind11-stubgen for generating stubs""
This reverts commit 92c7f51db5.
2024-09-26 11:50:58 -04:00
Varun Agrawal 92c7f51db5 Revert "Use pybind11-stubgen for generating stubs"
This reverts commit 30c789dbdb.
2024-09-25 11:06:51 -04:00
Varun Agrawal 6190e3d13f Revert "Fix compile error on Clang 18, tweak for better type generation"
This reverts commit e3dd4e1704.
2024-09-25 11:03:15 -04:00
Varun Agrawal fd7df61d45
Merge pull request #1839 from borglab/improved-api-3 2024-09-23 17:19:17 -04:00
Varun Agrawal e09344c6ba replace errorConstant with negLogConstant 2024-09-23 03:37:09 -04:00
Varun Agrawal aae5f9e040 fix numpy deprecation 2024-09-22 23:15:00 -04:00
Varun Agrawal 6488a0ceec updated tests 2024-09-22 22:16:59 -04:00
Varun Agrawal 796d85d7fa Merge branch 'develop' into improved-api-3 2024-09-22 19:36:25 -04:00
Varun Agrawal d3971b93c8 fix python tests 2024-09-21 06:14:36 -04:00
Frank Dellaert 5c80174c0b Fix small issues 2024-09-20 22:52:58 -07:00
Frank Dellaert d0084a97c3 Use new numdiff functions 2024-09-20 18:12:24 -07:00
Frank Dellaert 9dbab04a32 Tests with some help from chatgpt 2024-09-20 18:12:06 -07:00
Frank Dellaert 4b04ae0944 Code from Joel 2024-09-20 18:11:47 -07:00
Frank Dellaert 9567006b6b Use 'F' order 2024-09-20 13:45:32 -07:00
Frank Dellaert ed90121e0a
Merge pull request #1816 from truher/team100_camera_resectioning
add example CameraResectioning.py
2024-09-20 13:12:21 -07:00
Varun Agrawal 4016de7942 update variables and docstrings to remove the mixture terminology 2024-09-18 16:51:58 -04:00
Varun Agrawal fa353840b3 update HybridGaussianConditional to use single discrete parent 2024-09-18 15:12:23 -04:00
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
Fan Jiang 30c789dbdb Use pybind11-stubgen for generating stubs 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 8d3bdc0578 python package generation with stubs working 2024-08-26 19:47:09 -04:00
Frank Dellaert b5c998ab76 Merge branch 'develop' into fix/python_wrapper 2024-08-26 11:30:07 -07:00
Varun Agrawal 74b149fa7c
Merge pull request #1813 from borglab/python-typing 2024-08-26 12:01:42 -04:00
Varun Agrawal 1744c4aeb3 save stubs to 'stubs' directory and use cp instead of rsync 2024-08-26 10:07:24 -04:00
Varun Agrawal 48f9d0b116 fix if-else mistype 2024-08-26 09:44:28 -04:00
Varun Agrawal da99cf0e19 remove extraneous variable 2024-08-26 06:25:17 -04:00
Varun Agrawal bfcd5eb08a use older version of mypy 2024-08-26 05:48:18 -04:00
Frank Dellaert 55e3ac5e0e
Merge pull request #1812 from borglab/set-pybind11-path
Use bundled `pybind11` for Python wrapper
2024-08-25 18:49:58 -07:00
Varun Agrawal 0e73367345 stubgen only for Windows until we can find the rsync equivalent 2024-08-25 18:57:03 -04:00
Frank Dellaert ce74b2b0c1 Elaborate solution that works on windows as well 2024-08-25 15:47:57 -07:00
Frank Dellaert 0ba23ccbaa Try w cross-platform install 2024-08-25 15:31:25 -07:00
Frank Dellaert d1d6942bde Correct cmake line 2024-08-25 14:40:44 -07:00
Frank Dellaert 9307536827 Add venv on Mac and do not use --user flag in that case 2024-08-25 13:49:43 -07:00
Varun Agrawal 5f43b69c43 add mypy to the dev_requirements so we can get stubgen 2024-08-25 16:45:23 -04:00
Frank Dellaert 9dbbb32814 Add dangerous flag 2024-08-25 13:17:16 -07:00
Varun Agrawal e58a5c4cac directly add pybind11 subdirectory so files are generated correctly 2024-08-25 15:41:55 -04:00
Varun Agrawal f2d69ed697 always use bundled pybind11 inside wrap 2024-08-25 14:47:14 -04:00
Varun Agrawal 48215b9063 remove duplicate target 2024-08-25 14:03:43 -04:00
Varun Agrawal 51aadbda34 add type hints and make command to test gtsam_unstable for python 2024-08-25 13:59:48 -04:00
Varun Agrawal 353ff644fc generate python type hints during pip build 2024-08-25 13:59:12 -04:00
Varun Agrawal c57d5a0f70 Updated porting progress 2024-08-25 07:23:31 -04:00
Varun Agrawal b94ab31e1f localization example script which gives exact same result as C++ version 2024-08-25 04:36:00 -04:00
Varun Agrawal 95da15a61a allow stl binding for pybind11 in gtsam_unstable 2024-08-25 04:35:33 -04:00
Varun Agrawal df57d9607f allow numpy version 2.0.0 2024-06-28 11:04:24 -04:00
Varun Agrawal 788826a72a more explicit numpy version to avoid compiler issues 2024-06-28 09:15:58 -04:00
Varun Agrawal 75f9a901f3 restrict numpy to under v2.0.0 2024-06-27 21:57:15 -04:00
Varun Agrawal 2dfd15e16c
Merge pull request #1712 from borglab/update-wrap 2024-01-16 23:52:27 -05:00
Varun Agrawal b2e4fa2112 tests for dunder methods 2024-01-16 15:17:26 -05:00
Tal Regev 2971d9e74e Compile gtsam python for windows 2024-01-13 10:59:03 +02: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 f875662040 Merge branch 'develop' into fixes 2023-10-08 11:01:39 -04:00
Varun Agrawal 1d861d49d7 remove automatic install of python dev dependencies, leave that to the user 2023-10-07 16:11:50 -04:00
Varun Agrawal 4de8f149f8 fix docstring 2023-09-28 07:18:11 -04:00
Varun Agrawal b8ec765035 remove requirements install step as it is now a part of the cmake process 2023-09-05 12:40:21 -04:00
Varun Agrawal cb661a9f89 use variable for Python source directory 2023-09-05 12:38:37 -04:00
Varun Agrawal 42e4a4f6da install dev dependencies using CMake 2023-09-05 12:37:12 -04:00
Varun Agrawal 67ef015e0c separate required and dev dependencies 2023-09-05 12:36:56 -04:00
Varun Agrawal fe2080f2b1 fix warnings due to PEP 420 2023-09-05 12:04:54 -04:00
Clark Taylor 039f5cf711
Update CustomFactorExample.py with comments to explain typing 2023-09-01 14:18:45 -04:00
Clark Taylor 8611aec3fb
Update CustomFactors.md to document return type. 2023-09-01 14:17:04 -04:00
Clark Taylor 8ee9f20537
Update CustomFactorExample.py to correctly document return types 2023-09-01 14:15:39 -04:00
Clark Taylor 3d6e2fc81c
Update CustomFactors.md to more clearly specify types required 2023-09-01 14:12:47 -04:00
senselessdev1 8c321ba226 add fix 2023-08-30 11:17:40 -04:00