bindings
python
spatial
expose-motion.cpp
Go to the documentation of this file.
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/spatial/classic-acceleration.hpp
"
11
#include "
pinocchio/bindings/python/serialization/serialization.hpp
"
12
#include "
pinocchio/bindings/python/utils/std-aligned-vector.hpp
"
13
14
namespace
pinocchio
15
{
16
namespace
python
17
{
18
19
void
exposeMotion
()
20
{
21
exposeClassicAcceleration
();
22
MotionPythonVisitor<context::Motion>::expose
();
23
StdAlignedVectorPythonVisitor<context::Motion>::expose
(
"StdVec_Motion"
);
24
#ifndef PINOCCHIO_PYTHON_NO_SERIALIZATION
25
serialize<StdAlignedVectorPythonVisitor<context::Motion>::vector_type>();
26
#endif
27
}
28
29
}
// namespace python
30
}
// namespace pinocchio
motion.hpp
pinocchio::python::exposeMotion
void exposeMotion()
Definition:
expose-motion.cpp:19
classic-acceleration.hpp
serialization.hpp
aligned-vector.hpp
pinocchio::python::MotionPythonVisitor::expose
static void expose()
Definition:
bindings/python/spatial/motion.hpp:198
pinocchio::python::exposeClassicAcceleration
void exposeClassicAcceleration()
Definition:
bindings/python/spatial/classic-acceleration.hpp:14
python
motion.hpp
pinocchio::python::StdAlignedVectorPythonVisitor::expose
static void expose(const std::string &class_name, const std::string &doc_string="")
Definition:
std-aligned-vector.hpp:43
std-aligned-vector.hpp
fwd.hpp
pinocchio
Main pinocchio namespace.
Definition:
timings.cpp:27
pinocchio
Author(s):
autogenerated on Sun Dec 22 2024 03:41:09