Commit Graph

504 Commits (b35ed166758e54c72b9062dba2ca54cfd5865545)

Author SHA1 Message Date
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
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