Skip to content
GitLab
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
88e90823
Commit
88e90823
authored
Aug 29, 2019
by
Joseph Mirabel
Browse files
Minor cosmetic change.
parent
1b7d77b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/test_fcl_geometric_shapes.cpp
View file @
88e90823
...
...
@@ -58,6 +58,12 @@ GJKSolver_indep solver2;
Eigen
::
IOFormat
fmt
(
Eigen
::
StreamPrecision
,
Eigen
::
DontAlignCols
,
", "
,
", "
,
""
,
""
,
""
,
""
);
Eigen
::
IOFormat
pyfmt
(
Eigen
::
StreamPrecision
,
Eigen
::
DontAlignCols
,
", "
,
", "
,
""
,
""
,
"["
,
"]"
);
typedef
Eigen
::
AngleAxis
<
FCL_REAL
>
AngleAxis
;
//static const Vec3f UnitX (1, 0, 0);
//static const Vec3f UnitY (0, 1, 0);
static
const
Vec3f
UnitZ
(
0
,
0
,
1
);
namespace
hpp
{
namespace
fcl
{
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
Transform3f
&
tf
)
...
...
@@ -477,7 +483,7 @@ BOOST_AUTO_TEST_CASE(shapeIntersection_boxbox)
Vec3f
normal
;
Quaternion3f
q
;
q
=
Eigen
::
AngleAxis
<
double
>
((
FCL_REAL
)
3.140
/
6
,
Vec3f
(
0
,
0
,
1
)
);
q
=
AngleAxis
((
FCL_REAL
)
3.140
/
6
,
UnitZ
);
tf1
=
Transform3f
();
tf2
=
Transform3f
();
...
...
@@ -3053,7 +3059,7 @@ BOOST_AUTO_TEST_CASE(shapeIntersectionGJK_boxbox)
Vec3f
normal
;
Quaternion3f
q
;
q
=
Eigen
::
AngleAxis
<
double
>
((
FCL_REAL
)
3.140
/
6
,
Vec3f
(
0
,
0
,
1
)
);
q
=
AngleAxis
((
FCL_REAL
)
3.140
/
6
,
UnitZ
);
tf1
=
Transform3f
();
tf2
=
Transform3f
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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