1 |
|
|
// |
2 |
|
|
// Copyright (c) 2015-2021 CNRS INRIA |
3 |
|
|
// |
4 |
|
|
|
5 |
|
|
#include "pinocchio/serialization/aligned-vector.hpp" |
6 |
|
|
#include "pinocchio/serialization/motion.hpp" |
7 |
|
|
|
8 |
|
|
#include "pinocchio/bindings/python/fwd.hpp" |
9 |
|
|
#include "pinocchio/bindings/python/spatial/motion.hpp" |
10 |
|
|
#include "pinocchio/bindings/python/serialization/serialization.hpp" |
11 |
|
|
#include "pinocchio/bindings/python/utils/std-aligned-vector.hpp" |
12 |
|
|
|
13 |
|
|
namespace pinocchio |
14 |
|
|
{ |
15 |
|
|
namespace python |
16 |
|
|
{ |
17 |
|
|
|
18 |
|
19 |
void exposeMotion() |
19 |
|
|
{ |
20 |
|
19 |
MotionPythonVisitor<Motion>::expose(); |
21 |
✓✗✓✗ ✓✗ |
19 |
StdAlignedVectorPythonVisitor<Motion>::expose("StdVec_Motion"); |
22 |
|
19 |
serialize<StdAlignedVectorPythonVisitor<Motion>::vector_type>(); |
23 |
|
19 |
} |
24 |
|
|
|
25 |
|
|
} // namespace python |
26 |
|
|
} // namespace pinocchio |