Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
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>
34
35namespace tesseract_srdf
36{
43
50bool compareLinkPairAlphabetically(std::reference_wrapper<const tesseract_common::LinkNamesPair> pair1,
51 std::reference_wrapper<const tesseract_common::LinkNamesPair> pair2);
52
58std::vector<std::reference_wrapper<const tesseract_common::LinkNamesPair>>
60} // namespace tesseract_srdf
61#endif // TESSERACT_SRDF_UTILS_H
Definition: graph.h:125
A basic scene graph using boost.
auto scene_graph
Definition: ikfast_kinematics_7dof_unit.cpp:51
std::unordered_map< tesseract_common::LinkNamesPair, std::string, tesseract_common::PairHash > AllowedCollisionEntries
Definition: allowed_collision_matrix.h:18
Main namespace.
Definition: collision_margins.h:49
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:50
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:36
void processSRDFAllowedCollisions(tesseract_scene_graph::SceneGraph &scene_graph, const SRDFModel &srdf_model)
Add allowed collisions to the scene graph.
Definition: utils.cpp:30
Parse srdf xml.
Common Tesseract Types.
tesseract_srdf::SRDFModel srdf_model
Definition: tesseract_srdf_unit.cpp:852