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<Inertia>::expose
();
21
StdAlignedVectorPythonVisitor<Inertia>::expose
(
"StdVec_Inertia"
);
22
serialize<StdAlignedVectorPythonVisitor<Inertia>::vector_type>();
23
}
24
25
}
// namespace python
26
}
// namespace pinocchio
pinocchio::python::StdAlignedVectorPythonVisitor::expose
static ::boost::python::class_< vector_type > expose(const std::string &class_name, const std::string &doc_string="")
Definition:
std-aligned-vector.hpp:38
fwd.hpp
std-aligned-vector.hpp
serialization.hpp
pinocchio::python::exposeInertia
void exposeInertia()
Definition:
expose-inertia.cpp:18
pinocchio
Main pinocchio namespace.
Definition:
timings.cpp:28
pinocchio::python::InertiaPythonVisitor::expose
static void expose()
Definition:
bindings/python/spatial/inertia.hpp:209
inertia.hpp
python
pinocchio
Author(s):
autogenerated on Fri Jun 23 2023 02:38:30