Go to the documentation of this file.
29 #include <boost/serialization/access.hpp>
30 #include <boost/serialization/base_object.hpp>
31 #include <boost/serialization/map.hpp>
32 #include <boost/serialization/nvp.hpp>
33 #include <boost/serialization/set.hpp>
34 #include <boost/serialization/vector.hpp>
35 #include <boost/serialization/unordered_map.hpp>
70 for (
const auto& state : group.second)
76 for (
const auto& tcp : group.second)
77 group_tcps[group.first][tcp.first] = tcp.second;
140 const std::string& state_name,
160 return (it->second.find(state_name) != it->second.end());
164 const std::string& tcp_name,
165 const Eigen::Isometry3d& tcp)
184 return (it->second.find(tcp_name) != it->second.end());
189 auto double_eq = [](
const double& v1,
const double& v2) {
194 return tesseract_common::isIdenticalMap<GroupsJointState, double>(v1, v2, double_eq);
197 auto tcp_eq = [](
const Eigen::Isometry3d& v1,
const Eigen::Isometry3d& v2) {
return v1.isApprox(v2, 1e-5); };
199 auto list_eq = [](
const std::vector<std::string>& v1,
const std::vector<std::string>& v2) {
200 return tesseract_common::isIdentical<std::string>(v1, v2,
false);
215 auto it_group = rhs.
group_states.find(group_state.first);
221 equal &= tesseract_common::isIdenticalMap<GroupsJointStates, GroupsJointState>(
222 group_state.second, it_group->second, state_eq);
233 auto it_group = rhs.
group_tcps.find(group_tcp.first);
240 tesseract_common::isIdenticalMap<GroupsTCPs, Eigen::Isometry3d>(group_tcp.second, it_group->second, tcp_eq);
250 template <
class Archive>
std::vector< std::string > JointGroup
bool almostEqualRelativeAndAbs(const Eigen::Ref< const Eigen::VectorXd > &v1, const Eigen::Ref< const Eigen::VectorXd > &v2, const Eigen::Ref< const Eigen::VectorXd > &max_diff, const Eigen::Ref< const Eigen::VectorXd > &max_rel_diff)
#define TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(Type)
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
void insert(const KinematicsPluginInfo &other)
std::vector< std::pair< std::string, std::string > > ChainGroup
std::unordered_map< std::string, double > GroupsJointState
#define TESSERACT_COMMON_IGNORE_WARNINGS_POP
std::vector< std::string > LinkGroup
tesseract_srdf
Author(s): Levi Armstrong
autogenerated on Sun May 18 2025 03:02:04