Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
hpp-fcl
Commits
95a27ab4
Commit
95a27ab4
authored
Mar 11, 2013
by
Martin Felis
Browse files
fixed memory error of sphere-capsule tests when using unpatched fcl
parent
5952532e
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/test_fcl_sphere_capsule.cpp
View file @
95a27ab4
...
...
@@ -160,7 +160,9 @@ BOOST_AUTO_TEST_CASE(Sphere_Capsule_Distance_test_collision)
Capsule
capsule
(
50
,
200.
);
Transform3f
capsule_transform
(
Vec3f
(
0.
,
0.
,
100
));
BOOST_CHECK
(
!
solver
.
shapeDistance
(
sphere1
,
sphere1_transform
,
capsule
,
capsule_transform
,
NULL
));
FCL_REAL
distance
;
BOOST_CHECK
(
!
solver
.
shapeDistance
(
sphere1
,
sphere1_transform
,
capsule
,
capsule_transform
,
&
distance
));
}
BOOST_AUTO_TEST_CASE
(
Sphere_Capsule_Distance_test_separated
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment