![]() |
Tesseract 0.28.4
|
Parse link from xml string. More...
#include <tesseract/common/macros.h>#include <stdexcept>#include <boost/filesystem.hpp>#include <tesseract/common/utils.h>#include <tinyxml2.h>#include <tesseract/scene_graph/link.h>#include <tesseract/common/resource_locator.h>#include <tesseract/urdf/collision.h>#include <tesseract/urdf/inertial.h>#include <tesseract/urdf/link.h>#include <tesseract/urdf/utils.h>#include <tesseract/urdf/visual.h>Functions | |
| tesseract::scene_graph::Link::Ptr | tesseract::urdf::parseLink (const tinyxml2::XMLElement *xml_element, const tesseract::common::ResourceLocator &locator, bool make_convex_meshes, std::unordered_map< std::string, tesseract::scene_graph::Material::Ptr > &available_materials) |
| 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.
| 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. |