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

Wrapping Updates #1146

Merged
merged 3 commits into from
Mar 25, 2022
Merged

Wrapping Updates #1146

merged 3 commits into from
Mar 25, 2022

Conversation

varunagrawal
Copy link
Collaborator

  1. Wrapped measured methods. Fixes Some objects in Python have no attribute 'measured' #1142
  2. Added new method getNewFactorsIndices() to ISAM2Result and wrapped it. Fixes ISAM2Result.newFactorsIndices() missing in Python? #1133

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.

LGTM

@@ -175,6 +175,7 @@ struct ISAM2Result {
/** Getters and Setters */
size_t getVariablesRelinearized() const { return variablesRelinearized; }
size_t getVariablesReeliminated() const { return variablesReeliminated; }
FactorIndices getNewFactorsIndices() const { return newFactorsIndices; }
Copy link
Collaborator

Choose a reason for hiding this comment

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

Will MATLAB work with this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It should because FactorIndices is also a wrapped class 😄

@varunagrawal varunagrawal merged commit b2ec9b0 into develop Mar 25, 2022
@varunagrawal varunagrawal deleted the wrapping branch March 25, 2022 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wrapper Related to the wrapper
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some objects in Python have no attribute 'measured' ISAM2Result.newFactorsIndices() missing in Python?
2 participants