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

add missing interface for PoseTranslationPrior #946

Conversation

StefanKaiser-TomTom
Copy link

@StefanKaiser-TomTom StefanKaiser-TomTom commented Dec 1, 2021

Change is straight forward.

However, I'm not fully aware how the pickle() works .. I can't call it from Python even though its listed in the interface and some stuff is done in the wrapper?
Lastly, I'd put up some unit-tests but would need some guidance where to put it, and how you want those interfaces being tested (or maybe you don't want to test them at all for the sake of flexibility?).

@beetleskin beetleskin force-pushed the fix/add_missing_interface_functions_for_poseprior branch from 54481c0 to 40c9da5 Compare December 1, 2021 08:36
@varunagrawal
Copy link
Collaborator

Thanks for the PR @StefanKaiser-TomTom. Yeah that is an oversight of ours in the wrapper. You should be able to call pickle.dump() on the object to get the serialization to work for you.

We are already working towards removing the need to define pickle() in the .i files.

Copy link
Collaborator

@varunagrawal varunagrawal left a comment

Choose a reason for hiding this comment

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

LGTM

@varunagrawal varunagrawal merged commit bb96a2c into borglab:develop Dec 2, 2021
@dellaert
Copy link
Member

dellaert commented Dec 2, 2021

Great! thanks both!

@beetleskin beetleskin deleted the fix/add_missing_interface_functions_for_poseprior branch December 2, 2021 11:14
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.

None yet

3 participants