Commit Graph

393 Commits (7988a7050f26e448e94e5ca532251af01d4188dc)

Author SHA1 Message Date
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
Varun Agrawal 52bf1cd765 add cmake command to run GTSAM python tests 2021-06-13 10:24:15 -04:00
Varun Agrawal 6f02ebde14
Merge pull request #781 from danbarla/danbarla_dev 2021-06-09 22:45:51 -04:00
Fan Jiang 1ebf675201 Fix example in docs 2021-06-05 19:35:32 -04:00
Fan Jiang 93ebc9d5e9 Address Frank's comments 2021-06-05 19:32:00 -04:00
Fan Jiang 56faf3c4a8 Add unit test for optimization a factor graph 2021-06-05 01:18:02 -04:00
Fan Jiang 22ddab7921 Trajectory Estimation example 2021-06-05 00:37:55 -04:00
Fan Jiang 880d5b57af Fixed Python factor for TBB 2021-06-05 00:18:45 -04:00
Dan Barladeanu c7dd909ea5 fix comment to docstring 2021-06-03 23:17:35 +03:00
Dan Barladeanu fcd31692b8 Comments Only.
Added Kalman Filter definitions in test_KalmanFilter.py
2021-06-03 21:54:38 +03:00
Fan Jiang 0e44261b1e Add more comments 2021-05-21 19:27:46 -04:00
Fan Jiang 7de3714d54 Address Frank's comments 2021-05-21 16:11:53 -04:00
Fan Jiang a8ed71abbc Add documentation 2021-05-21 13:38:03 -04:00
Fan Jiang 615a932f30 Remove unnecessary comment 2021-05-17 20:11:17 -04:00
Fan Jiang 5d1fd83a2c Add printing for CustomFactor 2021-05-17 19:19:20 -04:00
Fan Jiang 66e397cb38 Allow KeyVector to just be lists 2021-05-17 14:36:14 -04:00
Fan Jiang 3638b3745f Change to using nullptr 2021-05-17 14:22:57 -04:00
Fan Jiang 866d6b1fa1 Working CustomFactor 2021-05-14 16:24:31 -04:00
Varun Agrawal 26a8b602a5 add pybind11/operators.h to interface template 2021-05-04 12:17:36 -04:00
Varun Agrawal 323a15d56c Merge branch 'develop' into feature/update_print_wrap 2021-04-20 17:32:55 -04:00
Gerry Chen 24755c1845 documentation about wrap update instructions 2021-04-12 22:17:37 -04:00
Gerry Chen 2257a37184 include pybind::iostream to the python wrapper cpp template 2021-04-12 21:50:23 -04:00
Gerry Chen 8c6efb5917 include pybind11/function 2021-04-08 05:23:02 -04:00
Varun Agrawal 73b0436755 fix numpy deprecation warnings 2021-03-24 00:33:25 -04:00
Varun Agrawal 436c8fa436
Merge pull request #711 from borglab/feature/matlab-wrap 2021-03-14 11:13:44 -04:00
Varun Agrawal 1618218cff fix holder_type typo 2021-03-13 18:30:12 -05:00
Varun Agrawal 99f351da4c Merge branch 'develop' into feature/matlab-wrap 2021-03-10 15:59:57 -05:00
John Lambert 4428148961 reformat with black 2021-03-10 10:23:27 -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 5da50a5a6f improve docstring 2021-03-10 08:53:43 -05:00
Varun Agrawal 6f81bdea7b offload matlab wrapping to the wrap project 2021-03-09 15:07:15 -05:00
Ayush Baid 1670e68e2f enabling markers and testing pickle roundtrip for few classes 2021-03-08 20:18:09 -05:00
John Lambert 5ab7af0a09 dont conflate notation on aTb 2021-03-05 17:58:43 -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 f5504d0645 add another unit test, but this one fails 2021-03-03 00:56:17 -05:00
John Lambert 0bb4d68487 add a unit test for line case 2021-03-03 00:44:07 -05:00
John Lambert 104031dca3 Rename PointPairs to Point3Pairs everywhere per popular demand 2021-03-03 00:25:04 -05:00
John Lambert 7d90e5040b add Align() for pose3pairs 2021-02-25 20:51:33 -05:00
John Lambert 0effe69df2 add sim3 Point3 align to wrapper 2021-02-24 15:26:13 -05:00
Varun Agrawal 7477f9e0b0 updated python setup files so that example data is loaded correctly 2021-01-04 13:13:26 -05:00
Varun Agrawal 3a80b38a9a updates to Cmake to use the new wrap package 2021-01-04 13:13:01 -05:00
Varun Agrawal 3da2885831 remove unused imports 2020-12-05 18:18:30 -05:00
Varun Agrawal d05f360c11 more formatting 2020-12-05 18:15:53 -05:00
Varun Agrawal a7248163e8 format python triangulation tests 2020-12-05 18:09:56 -05:00
Varun Agrawal b24f943c36 Revert "code formatted"
This reverts commit 8be6890b20.
2020-12-05 18:08:45 -05:00
Sushmita 858884f1e7 moved camera_set to generate_measurements 2020-12-05 13:16:13 -05:00
Sushmita 44d1d69274 removed typedef and formatted code 2020-12-05 12:07:39 -05:00
Sushmita 8be6890b20 code formatted 2020-12-03 21:10:10 -05:00
Sushmita adf3ce5574 moved measurement generation to separate function 2020-12-03 20:59:16 -05:00
Sushmita 7125179e4b added cmake and preamble 2020-12-03 20:58:51 -05:00
Sushmita 2e39433469 added utility functions and code cleanup 2020-12-01 23:21:21 -05:00
Sushmita 2fab69e0e8 Merge branch 'develop' of https://github.com/borglab/gtsam into feature/wrap_camVector 2020-12-01 19:32:44 -05:00
Sushmita 8fd2d98424 templated functions where possible 2020-12-01 19:31:44 -05:00
Varun Agrawal 92757a10f0
Merge pull request #616 from borglab/fix/misc
Miscellaneous fixes
2020-11-30 15:31:48 -05:00
Varun Agrawal d9018a9593 update Python test 2020-11-30 10:40:39 -05:00
Sushmita e484a70b5f removed commented code 2020-11-28 23:21:55 -05:00
Sushmita 362afce864 moved landmark variable to setup 2020-11-28 17:34:04 -05:00
Sushmita a524b17cde Merge branch 'develop' of https://github.com/borglab/gtsam into feature/wrap_camVector 2020-11-28 16:37:52 -05:00
Sushmita cc54b18fe5 docs fixed and error threshold reduced 2020-11-28 15:49:08 -05:00
Varun Agrawal cb115560ec fixes to plot code 2020-11-27 19:36:57 -05:00
Sushmita 02e94730a6 vector of cameras and triangulation function wrapped 2020-11-27 00:14:52 -05:00
Sushmita Warrier cc0433827e
Merge branch 'develop' into feature/wrap_SfmData 2020-11-08 17:11:39 -05:00
Sushmita 65a6d06bf1 sfmtrack constructor changed to accept point 2020-11-01 21:29:38 -05:00
Sushmita ee0eefbc86 added new constructor and changed to emplace 2020-10-27 21:52:31 -04:00
Sushmita a7b71cf203 remved commented code 2020-10-24 19:06:35 -04:00
Sushmita 38010860e4 changed setP method name
removed commented code
2020-10-24 15:46:47 -04:00
Sushmita a68b0798f9 wrapped sfmtrack 2020-10-21 23:44:02 -04:00
Sushmita 045780a151 changed Measurements to measurements 2020-10-21 23:43:17 -04:00
John Lambert 5be4571d5d
update list of C++ examples that have been ported to Python 2020-10-19 14:32:36 -04:00
John Lambert f8d534e8e5 merge with cleaned up comments 2020-10-19 09:12:59 -04:00
John Lambert 0d88438a2a renamed myData to scene_data, and explained BAL parameterization 2020-10-19 09:08:54 -04:00
Sushmita ed387e3817 unittested features in SfmData 2020-10-18 11:17:10 -04:00
John Lambert b1c53000f7
clean up comments 2020-10-17 12:47:57 -04:00
John Lambert b4bbad32df fix typo 2020-10-14 21:33:13 -04:00
John Lambert d5d7395f69 Merge branch 'develop' of https://github.com/borglab/gtsam into add_python_sfm_example_bal 2020-10-14 21:24:49 -04:00
John Lambert c9d719cb1f make a note about how the eror drops 2020-10-14 16:03:14 -04:00
John Lambert 25d801bd15 use argparse defaults 2020-10-14 15:22:23 -04:00
Sushmita bda6222da4 python wrapper for sfmdata 2020-10-11 16:46:10 -04:00