Export a BB robot definition to URDF XML format.
Export a robot module to URDF XML string.
Export a Robot struct to URDF XML string.
@spec export(module()) :: {:ok, String.t()} | {:error, term()}
The module must use BB and have a robot/0 function.
BB
robot/0
@spec export_robot(BB.Robot.t()) :: {:ok, String.t()}