URDF.write

URDF.write(destination=None, prettify=False)[source]

Writes the string representation of this URDF instance, including all sub-elements, to the destination.

Parameters
  • destination (str, optional) – Filepath where the URDF should be written. Defaults to the filepath of the associated XML object.

  • prettify (bool, optional) – Whether the string should add whitespace for legibility. Defaults to False.

Returns

None