-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
New correspondence rejector (#940) #11
Conversation
Awesome, Anders! Will have a look soon and merge / comment. Cheers, |
Great, thanks Alex! |
Hi Anders, I went through your code and did some minor beautifications. The problem is that when I tried running the unit tests, I get this (on a 64-bit Mac OS): /Users/alex/Work/pointclouds/pcl_github/pcl/test/registration/test_correspondence_rejectors.cpp:149: Failure Not sure how bad it is. Thanks, |
Ahh, I see. That's easily solved by changing line 149 in test_correspondence_rejectors from: EXPECT_NEAR(precision, 1.0, 0.35); to: EXPECT_NEAR(precision, 1.0, 0.4); The thresholds are purely constructed by the test case, so it's just a simple matter of varying machine precisions. Will you do it? |
I can do it, sure, but isn't this going to be a problem for the functioning of the algorithm on different platforms? |
I can (almost) guarantee you it will not :) The precision problem lies in the thresholds that I calculate inside the test code. The algorithm outputs the same absolute (integer) number of correspondences after execution and should definitely not be affected. |
Done, thanks Anders! |
Thank you, Alex! |
Implementation of the proposed feature here: http://dev.pointclouds.org/issues/940