Commit Graph

797 Commits (a0be9de4905f396778034bdef7c259f6e3654608)

Author SHA1 Message Date
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 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
Frank Dellaert cab0dd0fa1 GraphvizFormatting refactor
- separate file
- inherit from DotWriter
- made dot/dot/saveGraph the pattern
- deprecated saveGraph(ostream) method
2021-12-20 00:27:40 -05:00
Frank Dellaert 613b161fd2
Merge pull request #188 from michaelbosse/fix_bug_robust_residuals 2021-11-30 15:06:21 -05:00
Jose Luis Blanco Claraco 582f6914cd
more extra semicolon warnings fixed 2021-11-08 23:07:05 +01:00
Varun Agrawal 27143fc724 Add tests for Lie::interpolate jacobians 2021-10-25 17:15:18 -04:00
Jose Luis Blanco Claraco de68189559
Merge branch 'develop' into refactor/ExpressionTests 2021-07-19 11:56:58 +02:00
Varun Agrawal d5890a2d61 update all the tests 2021-07-10 21:03:15 -04:00
acxz 650e432f52 update boost::bind usage
use <boost/bind/bind.hpp> instead of deprecated <boost/bind.hpp>

use boost::placeholders:: scope in appropriate files

remove and add <boost/bind/bind.hpp> in appropriate files
2021-06-16 00:56:43 -04:00
Jose Luis Blanco Claraco 2827584f69
add expressions for cross() and dot() 2021-06-11 09:41:26 +02:00
yetongumich 0fe12ec984 resolve some nits 2021-05-12 16:57:27 -04:00
yetongumich a637737d5e refactor tests and add comments 2021-05-12 15:36:12 -04:00
lcarlone d6a3171e67 user can now also set the weights to initialize gnc! 2021-05-10 20:06:31 -04:00
lcarlone 5274abafd0 all tests done! 2021-05-10 18:23:12 -04:00
lcarlone 3ac97c3dbe adding knownOutlier input to GNC 2021-05-10 10:30:32 -04:00
akrishnan86 759dcaa1dd formatting changes 2021-03-05 00:06:30 -08:00
Akshay Krishnan a2f99ac71c unit test + fix segfault 2021-03-05 07:21:38 +00:00
Frank Dellaert 8261326e78
Merge pull request #684 from borglab/feature/gncImprovements
changed barcsq to a vector to allow each factor to have a different inlier threshold
2021-02-03 13:44:21 -05:00
Toni 7f80c906c4 Fix override warnings: modernize-use-override 2021-01-28 23:02:13 -05:00
lcarlone a59a12245c done with new default noise thresholds! 2021-01-22 23:24:28 -05:00
lcarlone 28b0f0ac8e working unit tests: added chi2 2021-01-22 22:27:47 -05:00
lcarlone be86b9b5d7 changed barcsq to be a vector, such that the user can provide a bound for each factor 2021-01-22 21:04:28 -05:00
Varun Agrawal 06d8ec289d
Merge pull request #633 from borglab/fix/foot-imu
Adds unit test for imu preintegration of a single step
2021-01-19 21:03:10 -05:00
Varun Agrawal 7eeed6dc14 remove cout statements from testImuPreintegration tests 2021-01-19 15:47:44 -05:00
Russell Buchanan 07244bbdea merge with upstream 2021-01-19 10:54:52 +00:00
Russell Buchanan bb662f0cb4 clean up 2021-01-19 10:49:42 +00:00
Varun Agrawal 6e46b72742 add unit test for NonlinearFactor weight with different noise models 2021-01-06 11:46:49 -05:00
lucacarlone 90e22cf0dd
Merge pull request #617 from borglab/gnc
Gnc
2021-01-04 10:04:59 -05:00
lcarlone 24672385b3 moved gncLossType outside params 2020-12-29 21:59:21 -05:00
lcarlone dfdd206708 addressed all except 2 comments by Frank. waiting for inputs on the 2 outstanding issues 2020-12-28 21:03:20 -05:00
lcarlone eea52766d1 renamed enum 2020-12-28 20:49:17 -05:00
lcarlone 06dfeb7ac5 moved GncParams to separate file, addressing comments by Frank, 1/n 2020-12-28 20:43:35 -05:00
lcarlone dc5c769e7c - fixed stopping conditions
- handled degenerate case in mu initialization
- set TLS as default
- added more unit tests
2020-12-23 22:08:44 -05:00
jingnanshi c57174436f fix test 2020-12-22 21:08:42 -05:00
jingnanshi 046db8749e Fix TLS convergence check 2020-12-22 13:40:52 -05:00
lcarlone cd82a56214 made function name less ambiguous, added more comments on inlierThreshold 2020-12-21 22:32:34 -05:00
lcarlone 0e09f019ef fixed templating, added a strict unit test on inlier threshold 2020-12-21 22:28:07 -05:00
Varun Agrawal fd43d817df save time in CSV, formatting 2020-12-15 10:50:28 -05:00
Varun Agrawal 7f975d194a refactored code for testing ImuPreintegration with impact 2020-12-14 14:32:24 -05:00
Varun Agrawal 8b9f917f43 refactored code for ImuMeasurements 2020-12-14 14:32:04 -05:00
Varun Agrawal 6543fb6c7c Merge branch 'develop' into fix/foot-imu 2020-12-14 13:47:11 -05:00