Mrinal,<div>Thank you for the info.  I'll add a link to the ticket for records.</div><div>I wonder what converter the author from Fraunhofer used to export the stl files :)</div><div>John<br><br><div class="gmail_quote">

On Fri, Jan 28, 2011 at 5:44 PM, Mrinal Kalakrishnan <span dir="ltr"><<a href="mailto:mail@mrinal.net">mail@mrinal.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi John,<br>
<br>
Here's what wikipedia has to say about it:<br>
<br>
"Because ASCII STL files can become very large, a binary version of<br>
STL exists. A binary STL file has an 80 character header (which is<br>
generally ignored - but which should never begin with 'solid' because<br>
that will lead most software to assume that this is an ASCII STL<br>
file)."<br>
<br>
So assimp may be doing the right thing. But since in the real world<br>
there are plenty of binary STL files floating around that also begin<br>
with "solid", it may be worth supporting.<br>
<font color="#888888"><br>
- Mrinal<br>
</font><div><div></div><div class="h5"><br>
On Fri, Jan 28, 2011 at 5:37 PM, John Hsu <<a href="mailto:johnhsu@willowgarage.com">johnhsu@willowgarage.com</a>> wrote:<br>
> It does look like the first few characters of arm0.stl starts with "solid<br>
> First_firstpiece", I guess somehow assimp is confused into thinking the mesh<br>
> is an ascii stl instead of correctly seeing it as a binary stl?  Running it<br>
> through ivcon removes those characters too, but ultimately, I think this<br>
> deserves a ticket under robot_model:<br>
> <a href="https://code.ros.org/trac/ros-pkg/ticket/4740" target="_blank">https://code.ros.org/trac/ros-pkg/ticket/4740</a><br>
><br>
> thanks,<br>
> John<br>
> On Fri, Jan 28, 2011 at 3:11 PM, Mrinal Kalakrishnan <<a href="mailto:mail@mrinal.net">mail@mrinal.net</a>><br>
> wrote:<br>
>><br>
>> Hi Felix,<br>
>><br>
>> On Fri, Jan 28, 2011 at 2:51 PM, Felix Messmer <<a href="mailto:felix_messmer@web.de">felix_messmer@web.de</a>><br>
>> wrote:<br>
>> > Hi John,<br>
>> ><br>
>> > thanks for your reply!<br>
>> > Our *.stl files are already in binary format.<br>
>><br>
>> Make sure that your binary .stl files do not start with the word<br>
>> "solid", because that would get interpreted as an ascii STL file,<br>
>> according to the spec. I think the cturtle versions used to handle<br>
>> this ok, but not the new versions. If this is the case, simply<br>
>> overwriting the word "solid" with a hex editor into anything else<br>
>> should fix the issue.<br>
>><br>
>> Hope this helps,<br>
>> Mrinal<br>
>> _______________________________________________<br>
>> ros-users mailing list<br>
>> <a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
>> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
><br>
><br>
> _______________________________________________<br>
> ros-users mailing list<br>
> <a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
><br>
><br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</div></div></blockquote></div><br></div>