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

Fix DotWriter wrapping #1089

Merged
merged 3 commits into from
Feb 6, 2022
Merged

Fix DotWriter wrapping #1089

merged 3 commits into from
Feb 6, 2022

Conversation

dellaert
Copy link
Member

@dellaert dellaert commented Feb 5, 2022

@varunagrawal , this commit removed the line

#include <pybind11/stl.h>

which was needed to access and update the fields in gtsam.DotWriter, which I need in gtbook. Admittedly, there was no test in gtsam that showed this line is crucial. This PR fixes that by adding a test and adding the line back in.

PS, this was a pain to debug as the wrapper cmake scripts do not copy over files in preamble and specializations after they have been touched. I had to manually update the copy in the build folder. Maybe something to fix in wrap after IROS deadline.

@dellaert dellaert requested a review from varunagrawal February 5, 2022 23:51
@dellaert dellaert self-assigned this Feb 5, 2022
@dellaert dellaert added the high-priority Need this done quickly label Feb 5, 2022
@dellaert
Copy link
Member Author

dellaert commented Feb 5, 2022

No idea what is going on with CI here...

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. Sorry about that, didn't know it would have this big an effect on another application.

@dellaert dellaert closed this Feb 6, 2022
@dellaert dellaert reopened this Feb 6, 2022
@varunagrawal
Copy link
Collaborator

I'm merging this.

@varunagrawal varunagrawal merged commit e5e9996 into develop Feb 6, 2022
@varunagrawal varunagrawal deleted the fix/inference_wrapper branch February 6, 2022 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
high-priority Need this done quickly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants