-
Notifications
You must be signed in to change notification settings - Fork 4
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 Charuco Support #5
Conversation
Throw a Java doc on this method that says what to do if you wanna ignore a corner, otherwise lgtm |
// Assume that we're correct in terms of row/column major-ness (lol) | ||
for (int c = 0; c < corners.length; c++) { |
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.
you check you have the same number of snapshots in the board corners and levels arrays, but you never check the length of levels/corners? you should assert that both are equal to rows times height
var corners = board.toArray(); | ||
// Assume that we're correct in terms of row/column major-ness (lol) | ||
for (int c = 0; c < corners.length; c++) { | ||
if (corners.length != levels.length) { |
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.
or wait you check the length here, but never that the length is actually correct? we should do that. And why check -inside- the for loop?
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.
Idk man green button go brr
No description provided.