URDFParser.parse_element
- classmethod URDFParser.parse_element(element, path='', element_default_namespace=None)
Recursively parse URDF element and its children.
If the parser type implements a class method
from_urdf
, it will use it to parse the element, otherwise a generic implementation that relies on conventions will be used.- Parameters
element – XML Element node.
path (str) – Full path to the element.
element_default_namespace (str) – Default namespace at the current level current document.
- Returns
object – An instance of the model object represented by the given element.