URDF.from_string

classmethod URDF.from_string(text)[source]

Parse URDF from a string.

Parameters

text (str) – XML string.

Examples

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