Skip to content
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

Fixes a nasty bug in propagateBVHFrontListCollisionRecurse() #110

Conversation

sherm1
Copy link
Member

@sherm1 sherm1 commented Mar 28, 2016

This was causing test_fcl_frontlist to seg fault on Windows. The bug is platform independent though so it definitely wasn't working right anywhere. Windows happened to access unreadable memory; probably it picked up garbage elsewhere. Apparently the test case isn't too fussy!

Also did some minor code cleanup (std::fabs -> std::abs, fix a typo).

@panjia1983, do you know how the test case could be improved so that it would have noticed this?

… causing test_fcl_frontlist to fail on Windows. The bug is platform independent though so I don't know why it passes anywhere.

Also did some minor code cleanup (std::fabs -> std::abs).
@sherm1
Copy link
Member Author

sherm1 commented Mar 28, 2016

With this merged there are only two remaining test failures on windows:

  • test_fcl_geometric_shapes has a tolerance issue (changing a 1e-5 to 1e-4 makes it pass)
  • test_fcl_broadphase fails (no diagnosis yet)

@mamoll
Copy link
Member

mamoll commented Mar 28, 2016

👍

@sherm1 sherm1 merged commit bdb3488 into flexible-collision-library:master Mar 28, 2016
@sherm1 sherm1 deleted the fix-bug-in-propagateBVHFrontListCollisionRecurse branch March 28, 2016 17:24
@jslee02 jslee02 added this to the FCL 0.5.0 milestone Mar 28, 2016
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