Go to the documentation of this file.
5 #ifndef __pinocchio_serialization_motion_hpp__
6 #define __pinocchio_serialization_motion_hpp__
11 #include <boost/serialization/split_free.hpp>
12 #include <boost/serialization/vector.hpp>
19 template<
class Archive,
typename Scalar,
int Options>
23 ar &
make_nvp(
"linear", make_array(
m.linear().data(), 3));
24 ar &
make_nvp(
"angular", make_array(
m.angular().data(), 3));
27 template<
class Archive,
typename Scalar,
int Options>
31 ar >>
make_nvp(
"linear", make_array(
m.linear().data(), 3));
32 ar >>
make_nvp(
"angular", make_array(
m.angular().data(), 3));
35 template<
class Archive,
typename Scalar,
int Options>
42 template<
class Archive,
typename Scalar,
int Options>
54 #endif // ifndef __pinocchio_serialization_motion_hpp__
void serialize(Archive &ar, Eigen::Map< PlainObjectBase, MapOptions, StrideType > &m, const unsigned int version)
void save(Archive &ar, const Eigen::Map< PlainObjectBase, MapOptions, StrideType > &m, const unsigned int)
void load(Archive &ar, Eigen::Map< PlainObjectBase, MapOptions, StrideType > &m, const unsigned int)
const nvp< pinocchio::container::aligned_vector< T > > make_nvp(const char *name, pinocchio::container::aligned_vector< T > &t)
pinocchio
Author(s):
autogenerated on Fri Nov 1 2024 02:41:47