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
Gabriele Buondonno
pinocchio
Commits
db2f658d
Commit
db2f658d
authored
Sep 29, 2017
by
Justin Carpentier
Committed by
GitHub
Sep 29, 2017
Browse files
Merge pull request #408 from jcarpent/topic/devel
Fix bug related to HPP-FCL
parents
2b8433b9
7bdc54da
Changes
2
Hide whitespace changes
Inline
Side-by-side
bindings/python/multibody/geometry-object.hpp
View file @
db2f658d
...
...
@@ -56,11 +56,14 @@ namespace se3
.
def_readonly
(
"overrideMaterial"
,
&
GeometryObject
::
overrideMaterial
,
"Boolean that tells whether material information is stored in Geometry object"
)
.
def_readonly
(
"meshTexturePath"
,
&
GeometryObject
::
meshTexturePath
,
"Absolute path to the mesh texture file"
)
#ifdef WITH_HPP_FCL
.
def
(
"CreateCapsule"
,
&
GeometryObjectPythonVisitor
::
maker_capsule
)
.
staticmethod
(
"CreateCapsule"
)
#endif WITH_HPP_FCL
;
}
#ifdef WITH_HPP_FCL
static
GeometryObject
maker_capsule
(
const
double
radius
,
const
double
length
)
{
return
GeometryObject
(
""
,
FrameIndex
(
0
),
JointIndex
(
0
),
...
...
@@ -68,6 +71,7 @@ namespace se3
SE3
::
Identity
());
}
#endif WITH_HPP_FCL
static
void
expose
()
{
...
...
unittest/crba.cpp
View file @
db2f658d
...
...
@@ -137,8 +137,8 @@ BOOST_AUTO_TEST_CASE (test_ccrb)
Eigen
::
VectorXd
q
=
Eigen
::
VectorXd
::
Ones
(
model
.
nq
);
q
.
segment
<
4
>
(
3
).
normalize
();
Eigen
::
VectorXd
v
=
Eigen
::
VectorXd
::
Ones
(
model
.
nv
);
Eigen
::
VectorXd
a
=
Eigen
::
VectorXd
::
Ones
(
model
.
nv
);
Eigen
::
VectorXd
v
=
Eigen
::
VectorXd
::
Random
(
model
.
nv
);
Eigen
::
VectorXd
a
=
Eigen
::
VectorXd
::
Random
(
model
.
nv
);
const
Eigen
::
VectorXd
g
=
rnea
(
model
,
data_ref
,
q
,
0
*
v
,
0
*
a
);
rnea
(
model
,
data_ref
,
q
,
v
,
a
);
...
...
Write
Preview
Markdown
is supported
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