URDF.from_string

classmethod URDF.from_string(text)

Parse URDF from a string.

Parameters

text (str) – XML string.

Examples

>>> from compas.files import URDF
>>> urdf = URDF.from_string('<robot name="panda"/>')