-
Notifications
You must be signed in to change notification settings - Fork 417
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
extending capsule-capsule distance computation #21
extending capsule-capsule distance computation #21
Conversation
adding a test.
Thanks for your work! However, the latest checkout of your repository doesn't contain the test_file: With this it builds and this test runs without errors. |
Sorry for the missing file. This is fixed |
Thanks guys! |
extending capsule-capsule distance computation
I have fixed some bugs, and now all the tests passed on my machine before this commit. Maybe there are some bugs in this commit. (please apply my commit 293 and 294). |
I am running ubuntu 12-04 32bits with gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 and here are the results I get with the latest commits (6047de0):
One problem is that macro BOOST_CHECK fails without providing useful information. You should consider using BOOST_CHECK_CLOSE instead. Another problem is that the accuracy in the computation of the closest points is very bad and only works with one gjk solver (GJKSolver_indep if I remember correctly). It seems that the tests are very unstable. |
I did not mean the latest commit has no failed tests...What I mean is if you checkout commit on Jan 07( 20147fb1820ddcddb9404616d341d11fbf875979a128), and manually apply the fix in commit 293-295, then all the test should be passed (except one, which was introduced by commit on Jan 7). I did not have time to fix the bugs introduced by the following commits. I agree the test is sensitive, since most of them are numerical tests. Will try to replace BOOST_CHECK by BOOST_CHECK_CLOSE. In addition, I indeed observed libccd has lower accuracy, but we have no control for that library. We can only suggest the user which solver is better. |
I did, I still have 5 tests that do not pass. Concerning this pull request, I only reedited another pull request by Karsten1987 were the real patch was hidden in re-indented files. This pull request only adds distance computation between capsules. It should not modify the rest of the code. Feel free to revert part of the pull request. However, Another more recent pull request (#37) modifies this one for better performance and correct computation of the closest point. |
Ok. I have only one unpassed (test_fcl_capsule_box_2), though I did not check the octomap stuff. I am on ubuntu 64bit with gcc 4.6.4. |
I have re-edited pull request #18 in order to highlight real differences against re-indentations.
Some tests fail on my computer (ubuntu 12.04 32bits), but they also fail with the official version.