Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
collision.h
Go to the documentation of this file.
1
26#ifndef TESSERACT_URDF_COLLISION_H
27#define TESSERACT_URDF_COLLISION_H
28
31#include <memory>
32#include <vector>
34
35namespace tinyxml2
36{
37class XMLElement; // NOLINT
38class XMLDocument;
39} // namespace tinyxml2
41{
42class Collision;
43}
44namespace tesseract_common
45{
46class ResourceLocator;
47}
48
49namespace tesseract_urdf
50{
58std::vector<std::shared_ptr<tesseract_scene_graph::Collision>>
59parseCollision(const tinyxml2::XMLElement* xml_element, const tesseract_common::ResourceLocator& locator, int version);
60
72tinyxml2::XMLElement* writeCollision(const std::shared_ptr<const tesseract_scene_graph::Collision>& collision,
73 tinyxml2::XMLDocument& doc,
74 const std::string& package_path,
75 const std::string& link_name,
76 int id);
77
78} // namespace tesseract_urdf
79
80#endif // TESSERACT_URDF_COLLISION_H
Abstract class for resource loaders.
Definition: resource_locator.h:43
Common Tesseract Macros.
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
Definition: macros.h:71
Definition: create_convex_hull.cpp:36
Definition: allowed_collision_matrix.h:16
Definition: graph.h:82
Definition: box.h:45
std::vector< std::shared_ptr< tesseract_scene_graph::Collision > > parseCollision(const tinyxml2::XMLElement *xml_element, const tesseract_common::ResourceLocator &locator, int version)
Parse xml element collision.
Definition: collision.cpp:43
tinyxml2::XMLElement * writeCollision(const std::shared_ptr< const tesseract_scene_graph::Collision > &collision, tinyxml2::XMLDocument &doc, const std::string &package_path, const std::string &link_name, int id)
writeCollision Write collision object to URDF XML
Definition: collision.cpp:112
Definition: collision_margins.h:36
tesseract_common::fs::path package_path
Definition: resource_locator_unit.cpp:55
ResourceLocator::Ptr locator
Definition: resource_locator_unit.cpp:57
tesseract_collision::ContactResultMap collision
Definition: tesseract_environment_collision.cpp:124