![]() |
Tesseract 0.28.4
|
Parse link from xml string. More...
#include <tesseract/common/macros.h>#include <memory>#include <unordered_map>#include <string_view>#include <tesseract/common/fwd.h>#include <tesseract/scene_graph/fwd.h>Functions | |
| std::shared_ptr< tesseract::scene_graph::Link > | tesseract::urdf::parseLink (const tinyxml2::XMLElement *xml_element, const tesseract::common::ResourceLocator &locator, bool make_convex_meshes, std::unordered_map< std::string, std::shared_ptr< tesseract::scene_graph::Material > > &available_materials) |
| Parse xml element link. | |
| tinyxml2::XMLElement * | tesseract::urdf::writeLink (const std::shared_ptr< const tesseract::scene_graph::Link > &link, tinyxml2::XMLDocument &doc, const std::string &package_path) |
| writeLink Write a link to URDF XML | |
Parse link from xml string.
| std::shared_ptr< tesseract::scene_graph::Link > tesseract::urdf::parseLink | ( | const tinyxml2::XMLElement * | xml_element, |
| const tesseract::common::ResourceLocator & | locator, | ||
| bool | make_convex_meshes, | ||
| std::unordered_map< std::string, std::shared_ptr< tesseract::scene_graph::Material > > & | available_materials | ||
| ) |
Parse xml element link.
| xml_element | The xml element |
| locator | The Tesseract resource locator |
| available_materials | The current available materials |
| make_convex_meshes | Flag to indicate if the meshes should be converted to convex hulls |
| tinyxml2::XMLElement * tesseract::urdf::writeLink | ( | const std::shared_ptr< const tesseract::scene_graph::Link > & | link, |
| tinyxml2::XMLDocument & | doc, | ||
| const std::string & | package_path | ||
| ) |
writeLink Write a link to URDF XML
| link | Link object to be written |
| doc | XML Document to which element will belong |
| package_path | /<path>/<to>/<your-package>. If set, geometry will be saved relative to the package. If not set, geometry will be saved with absolute paths. |