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

Break interface file into multiple files #821

Closed
wants to merge 11 commits into from

Conversation

varunagrawal
Copy link
Collaborator

Big PR alert!

This PR allows breaking the GTSAM wrapper into multiple smaller files. The benefits are multifold:

  1. Parallel compilation for improved speed.
  2. Takes care of the OOM issue in the CI.
  3. Smaller files are easier to debug and update.

I have tested this for both Python and Matlab and they work great.

varunagrawal and others added 11 commits July 11, 2021 06:06
d9ae5ce03 Merge pull request #118 from borglab/feature/matlab-multi-files
9adddf7dd update the main script for matlab wrapping
0b0398d46 remove debug statements since they aren't needed for now
df064a364 support for parsing mutiple interface files for Matlab wrapping
1929e197c add test for parsing multiple interface files
bac442056 Merge pull request #117 from borglab/fix/matlab-refactor
331f4a8ce update tests to remove redundant code
5426e3af4 generate all content from within the wrap function
f78612bf9 make directory check common
b7acd7a1f fixed import and test setup
88007b153 Merge pull request #116 from borglab/feature/matlab-refactor
a074896e6 utils -> mixins
414557e00 structure
187100439 update gitignore
adbc55aea don't use class attributes in matlab wrapper
f45ba5b2d broke down some large functions into smaller ones
7756f0548 add mixin for checks and call method to wrap global functions
a318e2a67 Merge pull request #115 from borglab/feature/multiple-modules
b02b74c3d convert matlab_wrapper to a submodule
be8641e83 improved function naming in tests
02ddbfbb0 update tests and docs
dfbded2c7 small fixes
e9ec5af07 update docs
d124e2cfb wrap multiple files
7c7342f86 update cmake to take in new changes for multiple modules
54850f724 Merge pull request #114 from borglab/fix/remove-py35
71ee98321 add mypy annotations
ccaea6294 remove support for python 3.5

git-subtree-dir: wrap
git-subtree-split: d9ae5ce036c4315db3c28b12db9c73eae246f314
@varunagrawal varunagrawal added feature New proposed feature python Related to python wrapper matlab Related to MATLAB wrapper performance Related to GTSAM performance and efficiency wrapper Related to the wrapper labels Jul 11, 2021
@varunagrawal varunagrawal self-assigned this Jul 11, 2021
@dellaert
Copy link
Member

Hi Varun. Close without merge? Is there still an issue?

@ProfFan
Copy link
Collaborator

ProfFan commented Jul 11, 2021

@dellaert New PR is #822

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 performance Related to GTSAM performance and efficiency python Related to python wrapper wrapper Related to the wrapper
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants