class
#include <private/URDFDocument.h>
URDFDocument
Base classes
- class XMLDocument
Constructors, destructors, conversion operators
-
URDFDocument(XMLParserState& parserState,
const iDynTree::
ModelParserOptions& parserOptions) explicit - ~URDFDocument() virtual
Public functions
-
auto options() -> iDynTree::
ModelParserOptions& -
auto model() const -> const iDynTree::
Model& -
auto sensors() const -> const iDynTree::
SensorsList& - auto rootElementForName(const std::string& name, const std::vector<std::string>& packageDirs) -> std::shared_ptr<XMLElement> override
- Factory method to create the XML root element given for the specified name.
- auto documentHasBeenParsed() -> bool override
Public variables
- std::vector<std::shared_ptr<SensorHelper>> sensorHelpers
-
std::unordered_map<std::string, JointElement::
JointInfo> joints -
std::unordered_map<std::string, JointElement::
JointInfo> fixedJoints -
std::unordered_map<std::string, MaterialElement::
MaterialInfo> materials -
std::unordered_map<std::string, std::vector<VisualElement::
VisualInfo>> visuals -
std::unordered_map<std::string, std::vector<VisualElement::
VisualInfo>> collisions
Function documentation
std::shared_ptr<XMLElement> iDynTree:: URDFDocument:: rootElementForName(const std::string& name,
const std::vector<std::string>& packageDirs) override
Factory method to create the XML root element given for the specified name.
Parameters | |
---|---|
name | name of the element to create |
packageDirs | |
Returns | a new parser element for the corresponding tag |