Commit Graph

14039 Commits (a0be9de4905f396778034bdef7c259f6e3654608)

Author SHA1 Message Date
Varun Agrawal a0be9de490 Squashed 'wrap/' changes from 38a1bfa01..4cca84a07
4cca84a07 Merge pull request #170 from p-zach/docstrings
dd56512e3 Refactor and clean up extract_docstring
bf9e0c151 Merge pull request #171 from borglab/fix/ci
d25495646 Formatting and cleaning up
7bf44b52b test more recent versions of python
c0529799c update macos runner to macos-14
f02d577a9 Rename CMake option for clarity
ef9b37db7 Create Doxygen XML parser for Python docstrings
da6d69abd Add Cmake option for Python docstring generation
bb03b9681 Merge pull request #169 from borglab/pybind11-upgrade
a26cb2066 upgrade Pybind11 to 2.13.6

git-subtree-dir: wrap
git-subtree-split: 4cca84a07e01fb0c9280148af2bcf8031f88fb7d
2025-03-10 10:58:21 -04:00
Varun Agrawal 5a97336f74 Squashed 'wrap/' changes from cdcf23207..38a1bfa01
38a1bfa01 Merge pull request #166 from borglab/pybind-update
129e81b3e fix for compiling on Clang
dcdacc833 upgrade to pybind11 v2.13.1
16934a98d Merge pull request #165 from borglab/remove-matrix-assumptions
ff222ecf9 update DOCS.md
48232621e remove unused fixture
e60ed9f10 unit test showing better control of Vector and Matrix definitions
2559b4f95 remove special checks for Vector and Matrix, leaving the onus on the developer

git-subtree-dir: wrap
git-subtree-split: 38a1bfa0123e36561104502e86f89a569873638b
2024-06-28 11:03:51 -04:00
Varun Agrawal 3b969bf94c Squashed 'wrap/' changes from bd57210d9..cdcf23207
cdcf23207 Merge pull request #163 from borglab/dunder-methods
22d429cc2 use STL functions instead of container methods
abe8818ab update pyparsing to 3.1.1
a9e896d0c add unit tests
535fe4f14 wrap supported dunder methods
079687eac parse dunder methods in interface file

git-subtree-dir: wrap
git-subtree-split: cdcf23207fbb03457c5d9dbfc2b0b57e515b5f3d
2024-01-16 15:04:09 -05:00
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 aaeeccf8f5 Squashed 'wrap/' changes from 1a7dc9722..ca357ccdd
ca357ccdd Merge pull request #149 from borglab/install-package
886846724 set the GTWRAP_PATH_SEPARATOR properly for MatlabWrap
4abed7fa0 install the python package explicitly

git-subtree-dir: wrap
git-subtree-split: ca357ccdd27f0661e73ff7a1771768dc4bf8f746
2022-07-04 14:55:39 -04:00
Varun Agrawal e86e4ade96 Squashed 'wrap/' changes from 24da9d1be..1a7dc9722
1a7dc9722 Merge pull request #147 from borglab/update-pybind
772d6ce66 bump pybind11 to v2.9.1

git-subtree-dir: wrap
git-subtree-split: 1a7dc9722e347162dadbf791fe1839d77bf3e3d8
2022-03-26 17:45:37 -04:00
Varun Agrawal ea30bc35d5 Squashed 'wrap/' changes from 56e7c0c81..24da9d1be
24da9d1be Merge pull request #146 from borglab/fix/matlab
3101236fe fix missing semi-colon for class forward declaration
e933e14a0 add missing boost header

git-subtree-dir: wrap
git-subtree-split: 24da9d1be2b26ecf9abbfd9153b24fbdcf007f4e
2022-03-20 22:01:12 -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
Varun Agrawal 6237d8b035 Squashed 'wrap/' changes from 3e076c9ac..767a74718
767a74718 Merge pull request #142 from borglab/python/repr-methods
1cbbd7757 make the repr method generation much simpler
b154ed0ba add support for special ipython methods and do some refactoring
f0f72283d update test fixtures

git-subtree-dir: wrap
git-subtree-split: 767a74718e25aa9fa8831e99ce7c459f216043cf
2021-12-25 09:31:24 -05:00
Varun Agrawal a4f1cf328f
Merge pull request #987 from borglab/feature/markdown2 2021-12-25 09:30:57 -05:00
Frank Dellaert 00c4af16ec markdown for DiscreteBayesTree 2021-12-24 14:34:47 -05:00
Frank Dellaert 1ab8a23792 Made parent-less vertical, like a factor 2021-12-24 14:33:08 -05:00
Frank Dellaert 042cb9d902 markdown for DiscreteFactorGraph 2021-12-24 13:27:02 -05:00
Frank Dellaert edadd352af markdown for Bayes nets 2021-12-24 13:25:19 -05:00
Frank Dellaert 3bdb585185 Push fix for windows 2021-12-24 11:48:25 -05:00
Frank Dellaert 839679eb7d More sophisticated markdown 2021-12-24 11:15:34 -05:00
Frank Dellaert 791e04e9f3 Expose key formatter in wrapper 2021-12-24 08:17:52 -05:00
Frank Dellaert a6e842d9da Fix compilation issues 2021-12-24 08:17:52 -05:00
Frank Dellaert ff730a7184 Added conditional markdown formatter 2021-12-24 08:17:52 -05:00
Frank Dellaert c5e6650d67 Add formatter 2021-12-24 08:17:52 -05:00
Frank Dellaert c6925987e1 Added print with keyformatter 2021-12-24 08:17:52 -05:00
Frank Dellaert 1eb27ed90a Formatting, unused variable 2021-12-24 08:17:52 -05:00
Frank Dellaert a27437690c Create markdown representation in DTFactor 2021-12-24 08:17:52 -05:00
Frank Dellaert fb3f00d656
Merge pull request #985 from borglab/featue/wrap_discrete_BT 2021-12-24 08:15:57 -05:00
Frank Dellaert b29b0eaa1c Test and dot file 2021-12-23 18:20:00 -05:00
Frank Dellaert b098b77fe7 Better Bayestree wrapping 2021-12-23 17:47:01 -05:00
Frank Dellaert 2a2c4efa90
Merge pull request #980 from borglab/wrapper-update 2021-12-22 15:01:40 -05:00
Varun Agrawal 3f20c0016e make gtsam_unstable conform to python wrapping layout 2021-12-22 14:19:22 -05:00
Varun Agrawal a9c48b158a Merging 'master' into 'wrap' 2021-12-22 14:14:47 -05:00
Varun Agrawal 49880e5f23 Squashed 'wrap/' changes from 2cbaf7a3a..3e076c9ac
3e076c9ac Merge pull request #141 from borglab/feature/compile-on-change
055d6ad3f add dependencies to specialization and preamble files
497b330e8 address review comments
8e233b644 use custom command instead of custom target
238954eaa minor fix
b709f512b update cmake to make multiple wrapping calls for each interface file
a1b9ffaaf pybind wrapper updates to handle submodules separately from the main python module

git-subtree-dir: wrap
git-subtree-split: 3e076c9ace04fea946124d586a01c2e9b8a32bdc
2021-12-22 14:14:47 -05:00
Frank Dellaert ee88f63a3f
Merge pull request #978 from borglab/fix/examples 2021-12-21 12:42:02 -05:00
Frank Dellaert 8291b31cb5
Merge pull request #969 from PeterQFR/barometric_factor 2021-12-21 12:41:06 -05:00
Frank Dellaert 752972c1fa Use non-deprecated graphviz methods 2021-12-21 10:17:36 -05:00
Varun Agrawal 86039bf282
Merge pull request #976 from borglab/fix/spherical-camera 2021-12-21 06:35:41 -05:00
Frank Dellaert 598c81f38f
Merge pull request #975 from borglab/fix/warnings 2021-12-20 22:53:27 -05:00
Frank Dellaert 168a67da05
Merge pull request #971 from borglab/feature/notebook_dot 2021-12-20 22:43:54 -05:00
Varun Agrawal d42044f22e initialize all EmptyCal shared pointers 2021-12-20 21:19:54 -05:00
Varun Agrawal 8ddfd8135b use passed in calibration for initialization and add EmptyCal serialization 2021-12-20 21:19:26 -05:00
Varun Agrawal 384494dd8b remove unnecessary instantiations 2021-12-20 21:14:11 -05:00
Varun Agrawal af598abc04 add class-level GTSAM_EXPORT 2021-12-20 21:13:57 -05:00
Varun Agrawal e8e4bea84c add alignment macro and modernize typedefs 2021-12-20 17:57:24 -05:00
peterQFR cc5c5c06ea Apply google format 2021-12-21 08:41:47 +10:00
peterQFR 66c8ca4af0 Use translation method to get jacobian for pose in pose coordinates 2021-12-21 08:33:09 +10:00
Varun Agrawal 1af040b9d1 fix axpy warning 2021-12-20 16:52:46 -05:00