Skip to content

Commit

Permalink
Replaced the implementation of tesseract_kinematics::parseSceneGraph (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
marrts authored Oct 13, 2023
1 parent 7e044fc commit ef9fd30
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tesseract_kinematics/kdl/src/kdl_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,15 @@ bool parseSceneGraph(KDLChainData& results,

return true;
}

bool parseSceneGraph(KDLChainData& results,
const tesseract_scene_graph::SceneGraph& scene_graph,
const std::string& base_name,
const std::string& tip_name)
{
std::vector<std::pair<std::string, std::string>> chains;
chains.emplace_back(base_name, tip_name);
return parseSceneGraph(results, scene_graph, chains);
}

} // namespace tesseract_kinematics

0 comments on commit ef9fd30

Please sign in to comment.