Tesseract 0.28.4
Loading...
Searching...
No Matches
utils.cpp File Reference

Tesseract SRDF utility functions. More...

#include <tesseract/srdf/utils.h>
#include <tesseract/common/allowed_collision_matrix.h>
#include <tesseract/scene_graph/graph.h>
#include <tesseract/srdf/srdf_model.h>

Namespaces

namespace  tesseract::srdf
 Main namespace.
 

Functions

void tesseract::srdf::processSRDFAllowedCollisions (tesseract::scene_graph::SceneGraph &scene_graph, const SRDFModel &srdf_model)
 Add allowed collisions to the scene graph.
 
bool tesseract::srdf::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.second.
 
std::vector< std::reference_wrapper< const tesseract::common::LinkNamesPair > > tesseract::srdf::getAlphabeticalACMKeys (const tesseract::common::AllowedCollisionEntries &allowed_collision_entries)
 Returns an alphabetically sorted vector of ACM keys (the link pairs)
 

Detailed Description

Tesseract SRDF utility functions.

Author
Levi Armstrong
Date
Dec 18, 2017
License
Software License Agreement (Apache License)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.