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
Gabriele Buondonno
pinocchio
Commits
5f44dd57
Commit
5f44dd57
authored
Sep 29, 2017
by
jcarpent
Browse files
[Python] Fix bug when hpp-fcl is missing
parent
5e4ca72a
Changes
1
Hide whitespace changes
Inline
Side-by-side
bindings/python/multibody/geometry-object.hpp
View file @
5f44dd57
...
...
@@ -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
()
{
...
...
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