28 #include <boost/serialization/access.hpp>
29 #include <boost/serialization/nvp.hpp>
30 #if (BOOST_VERSION >= 107400) && (BOOST_VERSION < 107500)
31 #include <boost/serialization/library_version_type.hpp>
33 #include <boost/serialization/unordered_map.hpp>
47 , limits_({ std::make_pair(std::move(joint_name), std::make_pair(lower, upper)) })
49 assert(upper > lower);
53 std::unordered_map<std::string, std::pair<double, double>> limits)
56 assert(std::all_of(
limits_.begin(),
limits_.end(), [](
const auto& p) { return p.second.second > p.second.first; }));
66 auto fn = [](
const std::pair<double, double>& p1,
const std::pair<double, double>& p2) {
72 equal &= tesseract_common::isIdenticalMap<std::unordered_map<std::string, std::pair<double, double>>,
81 template <
class Archive>
84 ar& BOOST_SERIALIZATION_BASE_OBJECT_NVP(
Command);
85 ar& BOOST_SERIALIZATION_NVP(
limits_);