Commit Graph

13115 Commits (f1cb194ce45ff6ba36d822df54013acad4acafd7)

Author SHA1 Message Date
Varun Agrawal f1cb194ce4 Merging 'master' into 'wrap' 2021-04-19 16:09:06 -04:00
Varun Agrawal 56d060b4c9 Squashed 'wrap/' changes from b80bc63cf..903694b77
903694b77 Merge pull request #92 from borglab/fix/global-variables
abb74dd26 added support for default args, more tests, and docs
cfa104257 Merge pull request #83 from borglab/feature/globalVariables
fdd7b8cad fixes
d4ceb63c6 add correct namespaces to global variable values
925c02c82 global variables works
af62fdef7 unit test for global variable
3d3f3f3c9 add "Variable" to the global parsing rule
ecfeb2025 rename "Property" to "Variable" and move into separate file

git-subtree-dir: wrap
git-subtree-split: 903694b777c4c25bd9cc82f8d3950b3bbc33d8f2
2021-04-19 16:09:06 -04:00
Varun Agrawal 45a15f7dc2 Merging 'master' into 'wrap' 2021-04-16 21:07:09 -04:00
Varun Agrawal db373dfa52 Squashed 'wrap/' changes from bae34fac8..b80bc63cf
b80bc63cf Merge pull request #90 from borglab/fix/tpl_dependency
015b12da5 Merge pull request #86 from borglab/feature/optionalargs
362851980 address review comments
e461ca50e Merge pull request #89 from borglab/fix/template_iostream
2d413db57 add pybind cpp generation dependency on tpl file
79881c25e include pybind11 iostream for ostream_redirect in example tpl
5e8323c25 fix test fixture
95495726a Merge branch 'master' into feature/optionalargs
5af826840 clean up the _py_args_names method to reduce copy-pasta
844ff9229 add identifier parsing to _type
c3adca7a4 remove extra spaces from Type repr
350b531d7 slight test improvement
fd4f37578 cleaner default argument parsing
6013deacb overpowered default argument parsing rule
dbcda0ea2 fix unit tests for __repr__ ref  vs ptr
1c23c42e4 fix pointer vs const ref in __repr__
9b40350f1 update matlab tests
df7e9023c handle __repr__ with default arguments
092ef489b update pybind_wrapper for default arguments
3a2d7aa8a unit test default argument pybind
61a2b114e implement default argument parser
c2b92ffec unit test for parsing default arguments

git-subtree-dir: wrap
git-subtree-split: b80bc63cf466f9751e8059c0abb4a4d73b23efbe
2021-04-16 21:07:09 -04:00
Varun Agrawal daf96340b9
Merge pull request #724 from nmahabadi/fix/unaryFactor 2021-04-15 23:40:57 -04:00
Frank Dellaert f95cc0b3a4
Merge pull request #739 from borglab/feature/wrapupdate_multipleinterfacefiles 2021-04-13 08:14:10 -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 00a04a1f5d Squashed 'wrap/' changes from 5ddaff8ba..bae34fac8
bae34fac8 Merge pull request #82 from borglab/feature/templated-base-class
6fd4053dd Merge pull request #84 from borglab/feature/print_redirectstdout
349784a38 comment about redirecting stdout
dc4fd9371 updated docs
b43f7c6d7 Merge pull request #80 from borglab/feature/multiple_interface_files
7d8c3faa7 redirect std::out for print_()
a812a6110 print redirect stdout unit test
97f3b6994 support for templated base class
3e16564e3 test cases for templated base class
7b9d080f5 Revert "unit test for printing with keyformatter"
45e203195 Revert "funcitonal print passes unit test"
8b5d66f03 Revert "include functional and iostream"
34bfbec21 Revert "delete debug statement"
dbe661c93 Revert "add includes to the example tpl file."
f47e23f1a Revert "Revert "function to concatenate multiple header files together""
e667e2095 Revert "function to concatenate multiple header files together"
600c77bf4 add includes to the example tpl file.
d5caca20e delete debug statement
4a554edb8 include functional and iostream
e8ad2c26f funcitonal print passes unit test
077d5c4e7 unit test for printing with keyformatter
d5a1e6dff function to concatenate multiple header files together

git-subtree-dir: wrap
git-subtree-split: bae34fac828acb6b17bfe37ebe78f7c9a156ed5a
2021-04-12 19:08:29 -04:00
Gerry Chen 70e4947c65 Merging 'master' into 'wrap' 2021-04-12 19:08:29 -04:00
Varun Agrawal 0657d28e5b
Merge pull request #732 from Alevs2R/develop 2021-04-08 12:45:40 -04:00
Aleksei Evlampev 6cef675e6e return back including boost version.hpp header 2021-04-08 14:54:52 +03:00
Varun Agrawal 276eaafc34
Merge pull request #736 from borglab/fix/minor
Bunch of minor fixes
2021-04-08 06:35:19 -04:00
Gerry Chen 58cc7b80e0
Merge pull request #735 from borglab/feature/std-keyformatter
KeyFormatter - boost::function to std::function
2021-04-08 04:20:49 -04:00
Gerry Chen 1d0c61b072 remove boost::function from Key.h 2021-04-08 01:42:09 -04:00
Varun Agrawal 5ea99c4f42 bunch of minor fixes 2021-04-07 16:45:05 -04:00
Varun Agrawal 22fcec4369 change KeyFormatter from boost::function to std::function 2021-04-07 16:38:17 -04:00
Varun Agrawal d2549c6b69
Merge pull request #734 from borglab/fix/pause-wrapper-gcc5
Disable Wrapper CI for GCC 5 until we optimize the wrapper
2021-04-07 16:37:45 -04:00
Varun Agrawal ad85fdc54e
Merge pull request #731 from borglab/fix/wrapper-double
Double + NavState in the wrapper
2021-04-07 12:54:52 -04:00
Varun Agrawal cae2bbb2ea disable Wrapper CI for GCC 5 until we optimize the wrapper 2021-04-07 12:52:45 -04:00
Aleksei Evlampev 16852849bd remove unnecessary includes in SubgraphBuilder.h 2021-04-07 13:15:12 +03:00
Aleksei Evlampev 039250983c fix boost serialization version includes 2021-04-06 14:33:55 +03:00
Varun Agrawal 9922608d03 added double as a template for PriorFactor, NavState retract and local, some formatting 2021-04-05 10:13:08 -04:00
Frank Dellaert 37ea955d2c
Merge pull request #730 from borglab/feature/addPriorDouble
addPriorDouble
2021-04-04 23:11:49 -04:00
Frank Dellaert 48a2fb5339 Added double as template arg 2021-04-03 22:27:11 -04:00
Frank Dellaert 43e8f1e5ae
Merge pull request #729 from borglab/feature/wrapper-operator-overloading 2021-04-02 13:17:19 -04:00
Varun Agrawal 38d867d556 add operator overloading and fix some TODOs in the wrapper 2021-04-02 09:59:29 -04:00
Varun Agrawal a63512dfba operator overloading for compose 2021-04-02 01:23:00 -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
Varun Agrawal 1144347a04 Merging 'master' into 'wrap' 2021-04-01 23:20:12 -04:00
Navid Mahabadi e3550595ac Merge remote-tracking branch 'upstream/develop' into fix/unaryFactor 2021-03-31 09:03:11 +02: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