Commit Graph

13084 Commits (1144347a0478ca09cafa7be53d88b5a8e6c31bb9)

Author SHA1 Message Date
Varun Agrawal 1144347a04 Merging 'master' into 'wrap' 2021-04-01 23:20:12 -04:00
Varun Agrawal edf7e45071 Squashed 'wrap/' changes from 96ccdfd0b..5ddaff8ba
5ddaff8ba Merge pull request #77 from borglab/fix/template-as-template-arg
0b6f2d92b allow templates as paramters to templates
7f3e242b0 Merge pull request #76 from borglab/fix/cmake-config
0caa79b82 macro to find and configure matlab
522557232 fix GTWRAP_INCLUDE_NAME
78a5d3afa Use CMakePackageConfigHelpers to vastly simplify the package config
76f8b9e5d Merge pull request #75 from borglab/fix/template-args
3b8e8389e remove reference from shared pointers
045393c7b docs and flag renaming
d23d8beae tests
ef96b4bdc don't make template parameters as references
d1e1dc697 Merge pull request #74 from borglab/fix/type-recursion
8202ecf10 minor fixes
5855ea85b support for passing templated types as arguments
150cc0578 Support for templated return types
5c58f8d03 Merge pull request #73 from borglab/fix/types-refactor
c697aa9c8 refactored the basic and custom types to make it cleaner, added more tests
98e2c3fa1 Merge pull request #68 from borglab/fix/cmake
c6d5e786a make config agnostic to install prefix
4d6999f15 Merge pull request #69 from borglab/feature/call-and-index
ccf408804 add support for callable and indexing overloads
8f8e3ec93 add status messages
88566eca4 make WRAP_PYTHON_VERSION an optional argument
01b8368ad Merge pull request #67 from borglab/feature/operator-overloading
522a12801 remove unsupported operators
209346133 update check location for unary operator
39e290f60 fix small typo
faa589bec update DOCS
7ff83cec8 minor fixes
8ce37766f fixed tests
21c477c4d include pybind11/operators
a3534ac5e wrap operator overloads
67c8f2089 instantiate templates for operators
e9dce65d8 use ReturnType for ease in other places and use members in Class
3078aa6db added parser rule for operator overloading

git-subtree-dir: wrap
git-subtree-split: 5ddaff8bab6c05e8a943c94993bf496e13296dd6
2021-04-01 23:20:12 -04:00
Frank Dellaert 8ffad01868
Merge pull request #721 from miloknowles/milo/partial_prior_factor 2021-03-28 22:01:06 -04:00
Milo Knowles 1f12f82e01 Fix Rot3::LocalCoordinates runtime error when using Cayley map 2021-03-26 17:29:47 -04:00
Frank Dellaert 995c049c91
Merge pull request #727 from borglab/fix/wrapper-update 2021-03-26 15:13:17 -04:00
Milo Knowles a0ff5e3886 Add LocalCoordinates() to ProductLieGroup and remove unnecessary <Eigen/Core> include to reduce compile memory 2021-03-26 14:36:43 -04:00
Milo Knowles 909b5500f8 Fix incorrect Vector dimension that was causing CI failures 2021-03-26 11:26:27 -04:00
Milo Knowles 05fad78ce9 Switch to cleaner T::Logmap 2021-03-26 10:09:05 -04:00
Milo Knowles 74b92efd89 Add constructor tests and extend tests to Pose2 2021-03-26 09:55:25 -04:00
Milo Knowles ef2cd5dab5 Fix x/y mismatch in unit tests 2021-03-26 08:59:44 -04:00
Varun Agrawal c78ca4bd02 Squashed 'wrap/' changes from 9a467794e..96ccdfd0b
96ccdfd0b Merge pull request #65 from borglab/fix/special-cases
04c06b7e6 Merge pull request #63 from borglab/fix/cmake
bf2c91bd2 fix issue in template instantiation generator
152dbcb12 test for special cases
d03004b24 fixed the cmake to discover the correct python version and set all corresponding variables
4cf66e0da Merge pull request #61 from borglab/fix/python-variables
80558e35b added more status messages and set the PYBIND11_PYTHON_VERSION each time
73afd1b0a set both sets of Python variables and find python version when including PybindWrap
REVERT: 9a467794e Merge pull request #61 from borglab/fix/python-variables
REVERT: 6bae7af99 added more status messages and set the PYBIND11_PYTHON_VERSION each time
REVERT: 5129cf3b9 set both sets of Python variables and find python version when including PybindWrap

git-subtree-dir: wrap
git-subtree-split: 96ccdfd0b84a4dbf1b3e9ed31b95ebc2758be9cc
2021-03-26 00:54:01 -04:00
Varun Agrawal 92ce0703bb Merging 'master' into 'wrap' 2021-03-26 00:54:01 -04:00
Varun Agrawal 34aae4f72a Squashed 'wrap/' changes from 29628426d..9a467794e
9a467794e Merge pull request #61 from borglab/fix/python-variables
6bae7af99 added more status messages and set the PYBIND11_PYTHON_VERSION each time
5129cf3b9 set both sets of Python variables and find python version when including PybindWrap
5a67b526c Merge pull request #60 from borglab/fix/multi-template-methods
4a73b29ef better method names for testing templated methods
989fdf946 added unit test for multi-template methods
a56908c21 add namespace qualification to instantiations
a25d9631e graceful handling of templated method instantiations
0baa5ab5d multiple templates in methods

git-subtree-dir: wrap
git-subtree-split: 9a467794e8542872b2782cdaec338aaa30a92e33
2021-03-25 13:32:38 -04:00
Varun Agrawal 1e8973ead1 Merging 'master' into 'wrap' 2021-03-25 13:32:38 -04:00
Varun Agrawal b7e19d6033 fix number of arguments to matlab_wrap for unstable 2021-03-25 09:41:42 -04:00
Varun Agrawal 82d6e68e90 switch back to simple python3 2021-03-25 02:09:42 -04:00
Varun Agrawal a62a986fbb Squashed 'wrap/' changes from 548e61b1f..29628426d
29628426d Merge pull request #59 from borglab/fixes
a95429ea0 Merge pull request #56 from borglab/fix/this-instantiation
3e22d6516 more documenatation and some formatting
526301499 updated the test to test for non-templated This
cdb75f36f Merge branch 'master' into fix/this-instantiation
0f5ae3b7f moved example pybind template to templates directory
d55f5db38 remove extra whitespace
21891ad3d skip tests until we figure out what's going on
2ea6307c3 better way of handling the matlab includes in the matlab wrapper
d0f8a392c Merge pull request #55 from borglab/feature/refactor3
57d47cbd9 create directories to store generated output
4788a1e37 fixed This instantiation
61d2cbfc4 add namespace test to matlab wrapper
ec39023e6 added more, smaller tests for Python wrapper
19c35b857 test for matlab class inheritance and some clean up
06ca5da13 test for matlab functions
cb05d7379 minor clean up and separate tests for geometry and class
8d8145cc4 break down test interface file into smaller files that can be easily debugged
97328f057 restructured test files and added dedicated fixtures directory

git-subtree-dir: wrap
git-subtree-split: 29628426d2c1a7bb728e40307c0f25cb468cd1bc
2021-03-25 00:49:51 -04:00
Varun Agrawal 04b9625825 Merging 'master' into 'wrap' 2021-03-25 00:49:51 -04:00
Varun Agrawal 30c84eabe4 added CMake variable to set the matlab.h include 2021-03-24 16:58:44 -04:00
Varun Agrawal 66d3b95a6d Squashed 'wrap/' changes from 3eff76f60..548e61b1f
548e61b1f Merge pull request #57 from borglab/fix/configurable-matlab-include
b58eabaf1 set correct template file path
483cdab9c fix
1f393516d fix CI syntax
8f0a3543f more concise cmake command because we don't care about the extra files generated
641ad1326 update CI to run cmake
de6b9260f added CMake variable to configure the include directory for matlab.h
cbe5f18bc Merge pull request #54 from borglab/feature/refactor2
cc78ee3bb test formatting
046a50b01 break down interface_parser into a submodule of smaller parts

git-subtree-dir: wrap
git-subtree-split: 548e61b1fbf02759d2e4a52435c2f1b3cbde98f0
2021-03-24 16:14:55 -04:00
Varun Agrawal 37b5b667e2 Merging 'master' into 'wrap' 2021-03-24 16:14:55 -04:00
Frank Dellaert 91f99b512e
Merge pull request #726 from borglab/fix/numpy-deprecation
Fix numpy deprecation warnings
2021-03-24 09:21:22 -04:00
Varun Agrawal 58a9622777 Squashed 'wrap/' changes from aae9b4605..3eff76f60
3eff76f60 Merge pull request #53 from borglab/feature/refactor
13215dfa7 Merge pull request #52 from borglab/fix/tests
696913b11 install setuptools
9523328ba Merge branch 'master' into fix/tests
7c630b361 some more cleanup
656993a71 cleaned up  Typename
a16f6f38e move qualified and basis type outside to their own class scope
72ead8bd7 Merge pull request #51 from borglab/fix/test-interface-parser
6deefd4fc added tests for interface_parser
50d490a85 Merge pull request #50 from borglab/feature/refs-all-types
be4511290 updated docs for BasisType
0e80b0d8c update MATLAB tests
0015d7397 added support for shared pointer and ref for basis types
86d2158f1 remove std::string from list of Basis types
94f928441 ignore code coverage reports
2033dd345 replace prints with log.debug statements
ae98091b3 fix deprecation in doc tests
13a2f66c4 Merge pull request #46 from borglab/feature/new-shared-pointer
3c7d85865 updated docs
6d7897088 use @ for raw pointer, go back to * for shared pointer
1d6194c57 updated matlab wrapper to handle both raw and shared pointers
1448f6924 fix some failing tests
2ab1dae32 Merge branch 'master' into feature/new-shared-pointer
96f8a56bd Merge pull request #47 from borglab/fix/ci
6003203f3 run CI only for pull requests
a8f29ead1 fix the python version yml key
fcae17227 check if directory exists when testing
f592f08c9 explicit pip3 so that we don't use Python2
d49c2f3c2 correct call for pip
dfe360526 fix the CI
149b7c523 docs for templated functions
f2189acc6 support typedefing for templated functions
965458a2b added test for templated functions
eaff6e6ab made is_const common for all types
3d9c70b32 added tests and cleaned up a bit
010b89626 support for simple pointers on basis types
6b98fd80c new syntax for shared_ptr
ff7ad0b78 support for templated functions
a1a443c8d Merge pull request #43 from borglab/fix/cmake-and-matlab
2f3a055e4 remove accidentally committed file
770d055e2 set proper paths for cmake and eschew relative paths
773d01ae1 fix bug in matlab wrapper
721ef740f Merge pull request #41 from borglab/feature/type-hints
67aac9758 minor refactor of CI yml
e6a63ae0c fix all mypy issues
a3aaa3e7c remove a lot of linter issues from matlab_wrapper
a96db522f static typing for interface_parser

git-subtree-dir: wrap
git-subtree-split: 3eff76f604b5ba9e71cf4947654e288142ed7a94
2021-03-24 00:36:02 -04:00
Varun Agrawal 54e5dc23aa Merging 'master' into 'wrap' 2021-03-24 00:36:02 -04:00
Varun Agrawal 8db1eed2d3 more specific version of python to test against 2021-03-24 00:35:43 -04:00
Varun Agrawal 73b0436755 fix numpy deprecation warnings 2021-03-24 00:33:25 -04:00
Milo Knowles 4b29c0370d Prefer localCoordinates over logmap 2021-03-21 20:46:26 -04:00
Milo Knowles 43c9f2ba26 Change mask to indices and update factor docstring 2021-03-21 17:20:43 -04:00
Milo Knowles 593e6e975d Correct Jacobian in PartialPriorFactor, modify derived factors for compatibility 2021-03-21 17:10:00 -04:00
Milo Knowles e6b7d9f133 Add successful unit test for identity pose 2021-03-20 17:57:10 -04:00
Milo Knowles 075293cf83 Three examples of failing PartialPriorFactor<Pose3> Jacobians 2021-03-20 17:44:03 -04:00
Jose Luis Blanco-Claraco 74e4fc392c
Merge pull request #716 from borglab/fix-verbosityLMTranslator
fix missing verbosityLMTranslator case
2021-03-19 01:40:56 +01:00
Varun Agrawal 9dbb47fced Merge branch 'develop' into fix-verbosityLMTranslator 2021-03-18 16:19:24 -04:00
Varun Agrawal 8fcfb4fe30
Merge pull request #720 from borglab/fix/717 2021-03-18 16:14:34 -04:00
Varun Agrawal 7c0434c6da explicitly add python version 2021-03-18 10:45:46 -04:00
Varun Agrawal a04b064fb1 temporarily added required check 2021-03-18 10:34:52 -04:00
Varun Agrawal 6a35fedd29 Fix CI with separate boost install
Github Actions no longer supports boost, so we install it separately.
Also turned off some checks since the wrapper causes an OOM exception.
2021-03-18 10:27:18 -04:00
Varun Agrawal 9e3813a4c0
Merge pull request #719 from borglab/fix/sim3
Fix the Similarity3 export declarations and wrapper
2021-03-17 22:56:56 -04:00
Varun Agrawal 4bf353031f fix the Similarity3 export declarations and wrapper 2021-03-17 20:22:54 -04:00
Jose Luis Blanco Claraco 43078f7cb8
fix missing verbosityLMTranslator case 2021-03-17 04:29:54 +01:00
Varun Agrawal 436c8fa436
Merge pull request #711 from borglab/feature/matlab-wrap 2021-03-14 11:13:44 -04:00
Varun Agrawal 1f60a7ea84 undo ignore updates, all tests now pass 2021-03-13 19:40:33 -05:00
Varun Agrawal a30574fdff Squashed 'wrap/' changes from 91f3835a8..aae9b4605
aae9b4605 Merge pull request #40 from borglab/fix/instantiation-capital
dc8c67843 fix template instantiation capitalization

git-subtree-dir: wrap
git-subtree-split: aae9b4605b1a95fd0165f8ec3fede1fb7ffcb9c1
2021-03-13 18:56:36 -05:00
Varun Agrawal 7e5a8b2496 Merging 'master' into 'wrap' 2021-03-13 18:56:36 -05:00
Varun Agrawal ec48b14d70 Squashed 'wrap/' changes from d19cda546..91f3835a8
91f3835a8 Merge pull request #39 from borglab/fix/deepcopy
b64e01744 don't remove underscore for instantiations
80c060b52 monkey patch deepcopy issue in pyparsing

git-subtree-dir: wrap
git-subtree-split: 91f3835a8a69919ccb67435c567803f162faeac7
2021-03-13 18:31:10 -05:00
Varun Agrawal dbbcbfb3aa Merging 'master' into 'wrap' 2021-03-13 18:31:10 -05:00
Varun Agrawal 4af355b0eb make ignore list consistent across Python and Matlab 2021-03-13 18:30:31 -05:00
Varun Agrawal 1618218cff fix holder_type typo 2021-03-13 18:30:12 -05:00
Varun Agrawal 6016a2d764 Move wrapper documentation to the wrap project 2021-03-13 12:03:17 -05:00
Varun Agrawal 51be66ff14 templated return types are now supported 2021-03-13 12:01:56 -05:00