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