converting xacro loading function to work with urdf files