include
pinocchio
serialization
serialization/frame.hpp
Go to the documentation of this file.
1
//
2
// Copyright (c) 2019-2021 INRIA
3
//
4
5
#ifndef __pinocchio_serialization_frame_hpp__
6
#define __pinocchio_serialization_frame_hpp__
7
8
#include "
pinocchio/multibody/frame.hpp
"
9
10
#include "
pinocchio/serialization/fwd.hpp
"
11
#include "
pinocchio/serialization/se3.hpp
"
12
#include "
pinocchio/serialization/inertia.hpp
"
13
14
namespace
boost
15
{
16
namespace
serialization
17
{
18
19
template
<
class
Archive,
typename
Scalar,
int
Options>
20
void
21
serialize
(Archive & ar,
pinocchio::FrameTpl<Scalar, Options>
&
f
,
const
unsigned
int
version
)
22
{
23
ar &
make_nvp
(
"name"
,
f
.name);
24
ar &
make_nvp
(
"parent"
,
f
.parentJoint);
25
ar &
make_nvp
(
"parentFrame"
,
f
.parentFrame);
26
ar &
make_nvp
(
"placement"
,
f
.placement);
27
ar &
make_nvp
(
"type"
,
f
.type);
28
29
if
(
version
> 0)
30
ar &
make_nvp
(
"inertia"
,
f
.inertia);
31
}
32
33
template
<
typename
Scalar,
int
Options>
34
struct
version
<
pinocchio
::FrameTpl<Scalar, Options>>
35
{
36
enum
37
{
38
value
= 1
39
};
40
};
41
42
}
// namespace serialization
43
}
// namespace boost
44
45
#endif // ifndef __pinocchio_serialization_frame_hpp__
boost::serialization::serialize
void serialize(Archive &ar, Eigen::Map< PlainObjectBase, MapOptions, StrideType > &m, const unsigned int version)
Definition:
serialization/eigen.hpp:222
inertia.hpp
version
Definition:
version.py:1
boost
boost::serialization::make_nvp
const nvp< pinocchio::container::aligned_vector< T > > make_nvp(const char *name, pinocchio::container::aligned_vector< T > &t)
Definition:
serialization/aligned-vector.hpp:37
autodiff-rnea.f
f
Definition:
autodiff-rnea.py:24
pinocchio::FrameTpl
A Plucker coordinate frame attached to a parent joint inside a kinematic tree.
Definition:
multibody/frame.hpp:55
se3.hpp
value
float value
serialization
Definition:
serialization.py:1
frame.hpp
fwd.hpp
pinocchio
Main pinocchio namespace.
Definition:
timings.cpp:27
pinocchio
Author(s):
autogenerated on Fri Nov 1 2024 02:41:44