bindings
python
spatial
expose-inertia.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/inertia.hpp
"
7
8
#include "
pinocchio/bindings/python/fwd.hpp
"
9
#include "
pinocchio/bindings/python/spatial/inertia.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
void
exposeInertia
()
19
{
20
InertiaPythonVisitor<context::Inertia>::expose
();
21
PseudoInertiaPythonVisitor<context::PseudoInertia>::expose
();
22
LogCholeskyParametersPythonVisitor<context::LogCholeskyParameters>::expose
();
23
StdAlignedVectorPythonVisitor<context::Inertia>::expose
(
"StdVec_Inertia"
);
24
#ifndef PINOCCHIO_PYTHON_NO_SERIALIZATION
25
serialize<StdAlignedVectorPythonVisitor<context::Inertia>::vector_type>();
26
#endif
27
}
28
29
}
// namespace python
30
}
// namespace pinocchio
pinocchio::python::PseudoInertiaPythonVisitor::expose
static void expose()
Definition:
bindings/python/spatial/inertia.hpp:438
inertia.hpp
inertia.hpp
pinocchio::python::InertiaPythonVisitor::expose
static void expose()
Definition:
bindings/python/spatial/inertia.hpp:280
pinocchio::python::LogCholeskyParametersPythonVisitor::expose
static void expose()
Definition:
bindings/python/spatial/inertia.hpp:564
serialization.hpp
aligned-vector.hpp
python
pinocchio::python::StdAlignedVectorPythonVisitor::expose
static void expose(const std::string &class_name, const std::string &doc_string="")
Definition:
std-aligned-vector.hpp:43
pinocchio::python::exposeInertia
void exposeInertia()
Definition:
expose-inertia.cpp:18
std-aligned-vector.hpp
fwd.hpp
pinocchio
Main pinocchio namespace.
Definition:
timings.cpp:27
pinocchio
Author(s):
autogenerated on Fri Nov 1 2024 02:41:43