-
Notifications
You must be signed in to change notification settings - Fork 768
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 python unit test for triangulation with robust noise model #1031
Add python unit test for triangulation with robust noise model #1031
Conversation
CameraSetCal3Bundler, PinholeCameraCal3_S2, | ||
PinholeCameraCal3Bundler, Point2Vector, Point3, Pose3, | ||
Pose3Vector, Rot3) | ||
from gtsam import ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you using pep8 with Google style? You should :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dellaert Hi Frank, I just reformatted with yapf --style google
. I don't see a match though, with the prior formatting. Do we have a CONTRIBUTING.md
with the current official Python formatting guidelines?
PinholeCameraCal3_S2, | ||
(K1, K2), | ||
camera_set=CameraSetCal3_S2) | ||
measurements, cameras = self.generate_measurements( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only reformat what you add in a PR
CI is failing |
passing now : - ) |
@johnwlambert looks great! approving post mortem :-) |
thanks! |
Adds a python unit test equivalent for the C++ tests in @lucacarlone's very nice robust Triangulation PR.