<div class="gmail_quote">On Wed, Aug 25, 2010 at 9:00 AM, garratt <span dir="ltr"><<a href="mailto:garrattgallagher@gmail.com">garrattgallagher@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

The error comes from collada_urdf::ColladaWriter::loadMeshWithSTLLoader<br>
where STLLoader calling readBinary() on a clearly nonbinary file.<br></blockquote><div><br></div><div><div>This is expected.  From the documentation (<a href="http://www.ros.org/wiki/collada_urdf">http://www.ros.org/wiki/collada_urdf</a>), under <i>Limitations</i>:</div>

<div><ul><li><span class="Apple-style-span" style="font-family: Helvetica, Verdana, Arial, 'Lucida Grande', sans-serif; ">Only binary STL mesh geometries are supported</span> </li></ul></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Is there a new way to generate the urdf/collada files? or was switching</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
to .dae files in the xacro file a mistake?<br></blockquote><div><br></div><div>No, urdf_to_collada doesn't directly support .dae geometries.  Many open source applications, such as Blender and MeshLab, will convert from .dae to alternative mesh formats, however.</div>

<div><br></div><div>If you'd like to add this functionality yourself, I believe Assimp (<a href="http://assimp.sourceforge.net/">http://assimp.sourceforge.net</a>) supports loading geometries from .dae files.</div><div>

<br></div><div>Tim</div></div>