URDF.read

classmethod URDF.read(source)

Parse a URDF file from a file path or file-like object.

Parameters

source (str or file) – File path or file-like object.

Examples

>>> urdf = URDF.from_file(compas.get("ur5.xacro"))