33 #include <boost/serialization/access.hpp>
34 #include <boost/serialization/map.hpp>
35 #include <boost/serialization/nvp.hpp>
36 #include <boost/serialization/unordered_map.hpp>
48 jv.resize(
static_cast<long int>(joint_names.size()));
49 for (
auto j = 0U; j < joint_names.size(); ++j)
50 jv(j) =
joints.at(joint_names[j]);
58 for (
const auto& joint_name : joint_names)
66 auto isometry_equal = [](
const Eigen::Isometry3d& iso_1,
const Eigen::Isometry3d& iso_2) {
67 return iso_1.isApprox(iso_2, 1e-5);
72 equal &= isIdenticalMap<std::unordered_map<std::string, double>,
double>(
joints, rhs.
joints);
81 template <
class Archive>
84 ar& BOOST_SERIALIZATION_NVP(
joints);