BB.Urdf.Exporter (bb v0.15.3)

Copy Markdown View Source

Export a BB robot definition to URDF XML format.

Summary

Functions

Export a robot module to URDF XML string.

Export a Robot struct to URDF XML string.

Functions

export(robot_module)

@spec export(module()) :: {:ok, String.t()} | {:error, term()}

Export a robot module to URDF XML string.

The module must use BB and have a robot/0 function.

export_robot(robot)

@spec export_robot(BB.Robot.t()) :: {:ok, String.t()}

Export a Robot struct to URDF XML string.