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
Stack Of Tasks
pinocchio
Commits
641e58a4
Verified
Commit
641e58a4
authored
May 26, 2021
by
Justin Carpentier
Browse files
python: serialize basic shapes from FCL
parent
2da34f31
Changes
1
Hide whitespace changes
Inline
Side-by-side
bindings/python/multibody/fcl/expose-fcl.cpp
View file @
641e58a4
...
...
@@ -8,6 +8,7 @@
#define HPP_FCL_SKIP_EIGEN_BOOST_SERIALIZATION
#include
<hpp/fcl/serialization/BVH_model.h>
#include
<hpp/fcl/serialization/geometric_shapes.h>
#undef HPP_FCL_SKIP_EIGEN_BOOST_SERIALIZATION
namespace
pinocchio
...
...
@@ -26,6 +27,15 @@ namespace pinocchio
bp
::
implicitly_convertible
<
Transform3f
,
SE3
>
();
// Expose serialization of basic geometries to binary buffers
serialize
<
TriangleP
>
();
serialize
<
Sphere
>
();
serialize
<
Capsule
>
();
serialize
<
Box
>
();
serialize
<
Cone
>
();
serialize
<
Capsule
>
();
serialize
<
Plane
>
();
serialize
<
Halfspace
>
();
serialize
<
BVHModel
<
OBB
>
>
();
serialize
<
BVHModel
<
RSS
>
>
();
serialize
<
BVHModel
<
OBBRSS
>
>
();
...
...
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