Skip to content

Conversation

d-vo
Copy link

@d-vo d-vo commented Mar 31, 2022

This PR fixes a wrong assignment in gtsam_unstable/slam/InvDepthFactor3.h where H2 is set to the wrong dimensions and H3 is left unassigned in case of a projection outside of the camera field-of-view.

Copy link
Contributor

@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! Thanks @d-vo

@varunagrawal
Copy link
Contributor

@d-vo can you please do us a favor and add a unit test for this? It should be pretty straightforward since we already have machinery for computing and verifying against numerical derivatives.

@d-vo
Copy link
Author

d-vo commented Apr 1, 2022

Sure. I can add some unit tests for the derivatives, but might take a few days before I get to it. We can leave the PR open until I get to it, or we can merge and I will add them separately - as you prefer.

@varunagrawal
Copy link
Contributor

I would prefer to keep this open since it helps with the git history. Looking forward to the tests!

@dellaert
Copy link
Member

dellaert commented Apr 8, 2022

Started CI, @varunagrawal or I can merge when it passes.

@varunagrawal varunagrawal merged commit d3162bf into borglab:develop Apr 11, 2022
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