Commit Graph

365 Commits (4c9ce4ca95f97c8d0fe47b56fae58f444511bbb4)

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