URDF.from_string

classmethod URDF.from_string(text)

Construct a URDF from a string.

Parameters

text (str) – XML string.

Returns

compas.files.URDF

Examples

>>> urdf = URDF.from_string('<robot name="panda"/>')