Open pierrefranklin opened 6 years ago
I believe now the error should be fixed after #305. I ran your test, and here is the result
fcl_result = 10
fcl_result point 1 = -0.00055429
20
0
fcl_result point 2 = 0.000277145
-10
0
@pierrefranklin can you verify that the problem you observed is now fixed, and if so close this issue?
Thanks!
I get incorrect nearest points when I use the following code:
The output of the executable is
This is copied almost verbatim from the tests, specifically the test_distance_spheresphere(...) function in test_fcl_signed_distance. The only difference is that
tf2.translation() = Vector3<S>(0, 40, 0);
instead oftf2.translation() = Vector3<S>( 40, 0, 0);
(ie X and Y are flipped).This also happens with using the Z coordinate, and with other primitives.