utils.h
Go to the documentation of this file.
1 
26 #ifndef TESSERACT_SRDF_UTILS_H
27 #define TESSERACT_SRDF_UTILS_H
28 
29 #include <functional>
30 
31 #include <tesseract_common/types.h>
34 
35 namespace tesseract_srdf
36 {
37 class SRDFModel;
38 
44 void processSRDFAllowedCollisions(tesseract_scene_graph::SceneGraph& scene_graph, const SRDFModel& srdf_model);
45 
52 bool compareLinkPairAlphabetically(std::reference_wrapper<const tesseract_common::LinkNamesPair> pair1,
53  std::reference_wrapper<const tesseract_common::LinkNamesPair> pair2);
54 
60 std::vector<std::reference_wrapper<const tesseract_common::LinkNamesPair>>
62 } // namespace tesseract_srdf
63 #endif // TESSERACT_SRDF_UTILS_H
tesseract_srdf
Main namespace.
Definition: collision_margins.h:43
allowed_collision_matrix.h
tesseract_common::AllowedCollisionEntries
std::unordered_map< tesseract_common::LinkNamesPair, std::string, tesseract_common::PairHash > AllowedCollisionEntries
tesseract_scene_graph::SceneGraph
fwd.h
tesseract_srdf::getAlphabeticalACMKeys
std::vector< std::reference_wrapper< const tesseract_common::LinkNamesPair > > getAlphabeticalACMKeys(const tesseract_common::AllowedCollisionEntries &allowed_collision_entries)
Returns an alphabetically sorted vector of ACM keys (the link pairs)
Definition: utils.cpp:53
tesseract_srdf::processSRDFAllowedCollisions
void processSRDFAllowedCollisions(tesseract_scene_graph::SceneGraph &scene_graph, const SRDFModel &srdf_model)
Add allowed collisions to the scene graph.
Definition: utils.cpp:33
types.h
tesseract_srdf::compareLinkPairAlphabetically
bool compareLinkPairAlphabetically(std::reference_wrapper< const tesseract_common::LinkNamesPair > pair1, std::reference_wrapper< const tesseract_common::LinkNamesPair > pair2)
Used to sort a pair of strings alphabetically - first by the pair.first and then by pair....
Definition: utils.cpp:39


tesseract_srdf
Author(s): Levi Armstrong
autogenerated on Sun May 18 2025 03:02:04