Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use wrap to perform Matlab wrapping #711

Merged
merged 20 commits into from
Mar 14, 2021
Merged

Conversation

varunagrawal
Copy link
Collaborator

This PR updates the Matlab wrapper so that it is completely reliant on wrap.

I've also made a git template on the org called gtsam-project-matlab which follows the exact same structure as the example_project, which is why this PR also deletes the example_project.

b0eb968f2 Completely handle Matlab wrapping (#34)
4ad71812a Merge pull request #33 from borglab/fix/script-destination
0c832eed7 reverted from TYPE to DESTINATION for wrapper scripts
10e1efd6f Merge pull request #32 from ayushbaid/feature/pickle
55d5d7fbe ignoring pickle in matlab wrap
8d70c7fe2 adding newlines
dee8aaee3 adding markers for pickling
46fc45d82 separating out the marker for pickle
d37b8a972 Merge pull request #31 from ayushbaid/feature/pickle
efd4a0fb4 removing tab
42fd231f3 adding newline for test compare
0aa316150 removing extra brackets
7fe1d7d0f adding pickle code to expected file
9c3ab7a8b fixing string format for new classname
2f89284e8 moving pickle support with the serialization code
5a8abc916 adding pickle support for select classes using serialization

git-subtree-dir: wrap
git-subtree-split: b0eb968f29a2261700361599cab2823221dd0f9d
@varunagrawal varunagrawal added feature New proposed feature matlab Related to MATLAB wrapper labels Mar 10, 2021
@varunagrawal varunagrawal self-assigned this Mar 10, 2021
@varunagrawal varunagrawal linked an issue Mar 10, 2021 that may be closed by this pull request
@varunagrawal
Copy link
Collaborator Author

I also want to check if this fixes #407.

@varunagrawal varunagrawal linked an issue Mar 10, 2021 that may be closed by this pull request
7 tasks
Copy link
Collaborator

@ProfFan ProfFan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, but make sure you test all MATLAB unittests and examples offline before merging :)

@varunagrawal
Copy link
Collaborator Author

varunagrawal commented Mar 10, 2021

A couple of tests are failing due to segfaults. I would wait to merge this PR until we get those fixed.

  • testSerialization.m
  • testPlanarSLAMExample.m
  • testThinBayesTreeNet.m

I'll look into these tomorrow since I have some other stuff to finish up today.

d19cda546 Merge pull request #36 from borglab/fix/shared-ptr-property
13ef2485c Merge pull request #37 from borglab/feature/multiple-templates
f3f40b375 add support for multiple instantiated templates
4f33353ef support for templated return types
1244045c2 cleaned up tests and added test for Pybind property shared pointer
0f3fbc428 add support for pointers as properties, and update docs
9974a73ec Merge pull request #35 from borglab/feature/docs
e9c52421d Added DOCS with info about wrapping structure
627154f9f fix call to superclass init
8a4e61ead added more docs and fixed typo for holder_type
b1bdec933 added docstrings to interface_parser and took care of all the errors and warnings

git-subtree-dir: wrap
git-subtree-split: d19cda5467f8b5cb8d4f571d8735ede328dae02d
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
aae9b4605 Merge pull request #40 from borglab/fix/instantiation-capital
dc8c67843 fix template instantiation capitalization

git-subtree-dir: wrap
git-subtree-split: aae9b4605b1a95fd0165f8ec3fede1fb7ffcb9c1
@varunagrawal varunagrawal requested a review from ProfFan March 14, 2021 00:41
@varunagrawal
Copy link
Collaborator Author

I got all the MATLAB tests to pass!!!!!!!

@varunagrawal varunagrawal removed a link to an issue Mar 14, 2021
7 tasks
@varunagrawal varunagrawal merged commit 436c8fa into develop Mar 14, 2021
@varunagrawal varunagrawal deleted the feature/matlab-wrap branch March 14, 2021 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New proposed feature matlab Related to MATLAB wrapper
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to get Python examples to build
2 participants