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

added wrapper for ProjectionFactorRollingShutter #1159

Merged
merged 3 commits into from
Apr 6, 2022

Conversation

shteren1
Copy link

@shteren1 shteren1 commented Apr 5, 2022

@varunagrawal i added python wrapper for a factor in gtsam_unstable, while i tried to compile and test the wrapper i found out the python wrapper requires cmake>=3.15 since a change you made in December 2021 add POP_FRONT to list which only exists in cmake>=3.15, so i added that to the python wrapper readme, i hope that is ok.

@varunagrawal
Copy link
Collaborator

Cool. Can you please add python unit tests as well to ensure the wrapping works as expected?

@shteren1
Copy link
Author

shteren1 commented Apr 5, 2022

@varunagrawal sure i will, is there any easy way to check that the tests work locally? what i did now was modify the Dockerfile for ubuntu-gtsam-python with my modified source and new cmake to see that it compiles. but i'm not sure how to run the tests.

@varunagrawal
Copy link
Collaborator

You can run make python-test from the build directory.

@shteren1
Copy link
Author

shteren1 commented Apr 6, 2022

@varunagrawal i added tests for constructors and for the error, i checked it locally and it passed.

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.

Thanks!

@ProfFan ProfFan merged commit 1232552 into borglab:develop Apr 6, 2022
@shteren1 shteren1 deleted the rs_wrapper branch April 7, 2022 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants