Commit Graph

14046 Commits (dbe5c0fa81fd097e90b4c40fe2e7c02d97146bcc)

Author SHA1 Message Date
Varun Agrawal 4c410fcd0e Squashed 'wrap/' changes from 07330d100..d9ae5ce03
d9ae5ce03 Merge pull request #118 from borglab/feature/matlab-multi-files
9adddf7dd update the main script for matlab wrapping
0b0398d46 remove debug statements since they aren't needed for now
df064a364 support for parsing mutiple interface files for Matlab wrapping
1929e197c add test for parsing multiple interface files
bac442056 Merge pull request #117 from borglab/fix/matlab-refactor
331f4a8ce update tests to remove redundant code
5426e3af4 generate all content from within the wrap function
f78612bf9 make directory check common
b7acd7a1f fixed import and test setup
88007b153 Merge pull request #116 from borglab/feature/matlab-refactor
a074896e6 utils -> mixins
414557e00 structure
187100439 update gitignore
adbc55aea don't use class attributes in matlab wrapper
f45ba5b2d broke down some large functions into smaller ones
7756f0548 add mixin for checks and call method to wrap global functions
a318e2a67 Merge pull request #115 from borglab/feature/multiple-modules
b02b74c3d convert matlab_wrapper to a submodule
be8641e83 improved function naming in tests
02ddbfbb0 update tests and docs
dfbded2c7 small fixes
e9ec5af07 update docs
d124e2cfb wrap multiple files
7c7342f86 update cmake to take in new changes for multiple modules
54850f724 Merge pull request #114 from borglab/fix/remove-py35
71ee98321 add mypy annotations
ccaea6294 remove support for python 3.5

git-subtree-dir: wrap
git-subtree-split: d9ae5ce036c4315db3c28b12db9c73eae246f314
2021-07-11 08:10:35 -07:00
Varun Agrawal 7b9928d933 Merging 'master' into 'wrap' 2021-07-11 08:10:35 -07:00
Varun Agrawal 17842dcea7 fixes 2021-07-11 08:10:11 -07:00
Varun Agrawal 0989aed0cf enable CI builds 2021-07-11 08:10:10 -07:00
Varun Agrawal fe95b8b970 wrapper updates 2021-07-11 08:10:09 -07:00
Varun Agrawal e8e3094556 update CMake 2021-07-11 08:10:09 -07:00
Varun Agrawal 86c47d52d5 move RedirectCout to base/utilities.h 2021-07-11 08:10:08 -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
Varun Agrawal 9bafebb521 break interface file into multiple files 2021-07-11 08:09:59 -07:00
Varun Agrawal 39b1b15c3e
Merge pull request #819 from borglab/feature/std-bind-placeholders 2021-07-11 07:33:32 -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
John Lambert ddfb45efb0
fix typo in block indexing, 3x3 covariance for Pose2 should have just 1x1 block for theta 2021-07-11 01:02:36 -06:00
Varun Agrawal dfc77f0967
Merge pull request #818 from borglab/tbb-disabling-instructions 2021-07-10 21:07:15 -04:00
Varun Agrawal d5890a2d61 update all the tests 2021-07-10 21:03:15 -04:00
Varun Agrawal dc8b5e58ff replaced boost with std for placeholders, bind and function 2021-07-10 21:01:20 -04: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
roderick-koehle d54e234f93
Add ambiguous calibrate/uncalibrate declarations.
Without declaring calibrate / uncalibrated in the interface specification, the functions of the Base class Cal3DS2_Base is called.
The layout of the optional Jacobian matrix is 2x10 in Cal3Unified and 2x9 in Cal3DS2_Base, so this are different function calls.
2021-07-10 22:03:17 +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 8b86d7a51c
improve docs about compiling without TBB 2021-07-10 11:36:36 -04:00
John Lambert db801f164d
add missing import to python unit test 2021-07-10 10:31:27 -04:00
roderick-koehle 03049929a5
Add comment about initial guess in undistortion
For the equidistant fisheye model, r/f = tan(theta), the Gauss-Newton search to model radial distortion is expected to converge faster by mapping the angular coordinate space into the respective tangent space of the perspective plane. This is consistent to the nPlaneToSpace initial projection used in the calibrate() function of the omnidirectional model (Cal3Unified).
2021-07-10 15:21:22 +02:00
John Lambert 64514387b4
check in python unit test for new functionality 2021-07-10 00:57:01 -04:00
John Lambert 7fc8f23367
use default parameters if none provided, and remove gtsam namespace prefix in .h file 2021-07-09 23:34:55 -04:00
Scott 8c68e21521 Added ISAM2 serialize test 2021-07-09 18:30:39 -07:00
Varun Agrawal 4ac4302871
Merge pull request #813 from borglab/feature/between-factor-tests 2021-07-09 18:19:29 -04:00
Varun Agrawal 4fc68593ac
Merge pull request #814 from borglab/fix/misc 2021-07-09 18:19:03 -04:00
John Lambert 641a01c726
fix typo on 3x3 matrix def 2021-07-09 17:54:14 -04:00
John Lambert 4bf2308ec5
add conversion function for Pose2 -> BinaryMeasurement<Rot2> 2021-07-09 17:48:26 -04:00
John Lambert 3c8cdb4eee
add ShonanAveraging2 constructor to wrapper, that accepts BetweenFactorPose2s as input 2021-07-09 17:42:59 -04:00
John Lambert 0e0d630c91
fix typo 2021-07-09 17:39:38 -04:00
John Lambert 3c1823349b
add interface in C++, and helper extractRot2Measurements() 2021-07-09 17:38:10 -04:00
John Lambert 15478bf278
Update ShonanAveraging.h 2021-07-09 17:33:33 -04:00
Scott df579ec6a7 Fix serialization of ISAM2 class 2021-07-09 13:07:08 -07:00
Varun Agrawal 2e40169324 fix dimension for Pose3 test 2021-07-09 14:07:19 -04:00
Varun Agrawal 8b9e60156c cleaner variables 2021-07-09 14:06:59 -04:00
roderick-koehle 66af0079ba
Improved accuracy for analytic undistortion 2021-07-09 12:39:31 +02:00
roderick-koehle a411b664a1
Correct tab to spaces to fix formatting 2021-07-09 11:25:18 +02: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
Varun Agrawal d7d9ac0f06 typo fix 2021-07-08 19:43:25 -04:00
Varun Agrawal a12b49de40 add Pose3 expmap to wrapper 2021-07-08 19:43:09 -04:00
Varun Agrawal 2ecad47b9e Added lots of tests for BetweenFactor 2021-07-08 19:41:01 -04: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
roderick-koehle 55c12743fc
Forward declaration of fisheye camera.
Forward declaration of PinholeCal3Fisheye needed by Python wrapper.
2021-07-08 15:45:11 +02:00
roderick-koehle ab92ba7075
Merge pull request #3 from roderick-koehle/patch-1
Forward declaration of PinholeCameraCal3Fisheye
2021-07-08 15:40:03 +02:00