Skip to content

added wrapper for ProjectionFactorRollingShutter#1159

Merged
ProfFan merged 3 commits into
borglab:developfrom
shteren1:rs_wrapper
Apr 6, 2022
Merged

added wrapper for ProjectionFactorRollingShutter#1159
ProfFan merged 3 commits into
borglab:developfrom
shteren1:rs_wrapper

Conversation

@shteren1
Copy link
Copy Markdown

@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
Copy Markdown
Contributor

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

@shteren1
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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

@shteren1
Copy link
Copy Markdown
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
Copy Markdown
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