Commit Graph

8 Commits (c7abbad0bc2a43538edfe8c3e23447662cfc49df)

Author SHA1 Message Date
Varun Agrawal c7abbad0bc Squashed 'wrap/' changes from 2f136936d..bd57210d9
bd57210d9 Merge pull request #162 from borglab/matlab-updates
1467cf23a small improvements to Matlab wrapper
ce4d872c3 support for Apple Silicon
246c723e2 Merge pull request #161 from borglab/fix-matlab-enum
4a4ddb912 allow optional std:: for pair
390cb8092 Merge pull request #160 from borglab/upgrade-pybind11
c48bfa418 upgrade pybind11 to v2.11.1
c941bdd48 update gitignore

git-subtree-dir: wrap
git-subtree-split: bd57210d9aa620babbffe7eeb43abd77fea641e3
2023-10-06 12:21:06 -04:00
Varun Agrawal 30a39a0bdb Squashed 'wrap/' changes from 520dbca0f..2f136936d
2f136936d Merge pull request #159 from borglab/fix-matlab-enum
d1da38776 fix pybind test
2a00e255b additional enum test and wrapper update to pass test
f0076ec18 fixp python enum fixture
a0c87e0df don't cast enum to shared ptr
a6ad343af improve enum wrapping
e0a504328 is_enum method in mixin
8d9d380c7 fix bug in fully qualified enum type
0491a8361 update docstrings to reflect update from basis to basic
d1fb05c41 improve docs and clean up
fdc1a00b8 rename Basis to Basic for basic c++ types
00ee34133 specify full namespace for enum-type arg
f86724e30 add docstrings
38fb0e3a3 docs for enum wrapping functions
9d3bd43c0 add test fixtures

git-subtree-dir: wrap
git-subtree-split: 2f136936dbc33d9c3875952d6f0b29c43b8e26b4
2023-05-24 12:12:22 -04:00
Varun Agrawal 6976cd6ea2 Squashed 'wrap/' changes from 076a5e3a9..520dbca0f
520dbca0f Merge pull request #158 from borglab/matlab-enum-support
661daf0dd fix python version specification
6f9111ddb fix python install
691e47734 update CI to newer OS versions
579539b1c finish wrapping
474aece68 fix issue in _collector_return
660c21bcc wrap enum types in cpp
1fa5c2756 begin updating generated cpp for enums
7b156a3f5 add wrap_enum and unwrap_enum helper functions
2a5423061 finish wrapping every part of enum.i
68cfa8a51 wrap enums inside classes
ce734fa9f wrap enums declared on their own
66c84e5cb unit test for enum wrapping in matlab
1cc126669 module docstring for matlab_wrapper/templates.py

git-subtree-dir: wrap
git-subtree-split: 520dbca0f2c3db4d30f0a0fd020a729cc0caa7b7
2023-05-22 15:25:54 -04:00
Varun Agrawal 53714794e2 Squashed 'wrap/' changes from ba3dcab16..076a5e3a9
076a5e3a9 Merge pull request #157 from borglab/upgrade
5e0caa63d fix matlab wrapper for std::optional
f4ea1c2fe update matlab.h and docs
de87ee0ff fix tests
06a16ce46 update matlab cmake script
0e84fa49c add boost serialization flag to wrapping script
4bb10411a use std pointers and make boost serialization optional
ec647385f clean up python wrapper more
a4da6a021 update tests
709b80d2f update python wrapper CMake
5b50739d6 update template files
bfc0bf57b update python wrapper to use only std and to optionally wrap serialization methods
de8c4153b remove use_boost arg from interface_parser
4dc835aec repurpose use_boost flag to use_boost_serialization

git-subtree-dir: wrap
git-subtree-split: 076a5e3a95e68f3900beee0d063322ec83e80ae3
2023-02-17 03:13:23 -05:00
Varun Agrawal 470f1a063e Squashed 'wrap/' changes from b3faf3fcd..ba3dcab16
ba3dcab16 Merge pull request #156 from borglab/fix/matlab-properties
feb4ee1b9 update docs
e57fec56b add unit test for templated class property

git-subtree-dir: wrap
git-subtree-split: ba3dcab16a8316634b56e3c4c6061531c91eb36c
2022-10-28 22:43:46 -04:00
Varun Agrawal e5dac42735 Squashed 'wrap/' changes from b37a1fec6..b3faf3fcd
b3faf3fcd Merge pull request #155 from borglab/fix/matlab-properties
292b35440 fix python test
53053173e fix properties block bug in Matlab and add test to capture it

git-subtree-dir: wrap
git-subtree-split: b3faf3fcd1e805828decf67fc32814f104c3c1c2
2022-10-28 17:56:52 -04:00
Varun Agrawal 41d0de3e92 Squashed 'wrap/' changes from ca357ccdd..b37a1fec6
b37a1fec6 Merge pull request #154 from borglab/matlab/properties
93dec957a convert class properties to type parser.Variable so that the property collector functions are written correctly
d84e07f56 fix bug with proper closing of global functions
5a8505235 define setter and getter collector functions for cpp file
5067655e2 abstract out unwrap_argument and collector_return to their own functions
1ce29d71d add properties to properties block of .m file and add setters and getters
0c3e5573d write properties in class comment
9d85f7b6a disable superfluous pylint warnings
b45994d34 Merge pull request #152 from borglab/pybind-2.10
76ba199a2 upgrade pybind to 2.10
16e4e674b Merge pull request #150 from borglab/feature/parent_class_template
c7d1a466f Merge pull request #151 from borglab/fix/function_template_parameter_namespace
7278a309d retain namespace for template arguments
18ae5fb04 implement parent class allowed to have template parameters
fd4437899 unit tests for parent classes allowed to have template parameters

git-subtree-dir: wrap
git-subtree-split: b37a1fec689d6a42837a3bfb4dc947674e72be54
2022-10-28 13:10:19 -04:00
Varun Agrawal f1e11d0929 Squashed 'wrap/' changes from 767a74718..56e7c0c81
56e7c0c81 Merge pull request #145 from borglab/matlab/raw_ptr
2e82cd38d address review
58ff3b0a1 update tests and fixtures
dcb6ef80f fix matlab wrapper to properly handle raw pointers
2377b330f refactor argument list generation

git-subtree-dir: wrap
git-subtree-split: 56e7c0c81c6df4e08c3496cc6cc8e48d881c2a8c
2022-02-02 11:53:48 -05:00