[ros-users] Error generating .dae file

garratt garrattgallagher at gmail.com
Wed Aug 25 18:23:34 UTC 2010


So are the .stl files out of date? Moreover, is there any reason why I
can't just substitute the stl files back in, in place of the .dae files?

Garratt

On Wed, 2010-08-25 at 10:39 -0700, Tim Field wrote:
> On Wed, Aug 25, 2010 at 9:00 AM, garratt <garrattgallagher at gmail.com>
> wrote:
>         The error comes from
>         collada_urdf::ColladaWriter::loadMeshWithSTLLoader
>         where STLLoader calling readBinary() on a clearly nonbinary
>         file.
> 
> 
> This is expected.  From the documentation
> (http://www.ros.org/wiki/collada_urdf), under Limitations:
>       * Only binary STL mesh geometries are supported 
>         Is there a new way to generate the urdf/collada files? or was
>         switching
>         to .dae files in the xacro file a mistake?
> 
> 
> 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.
> 
> 
> If you'd like to add this functionality yourself, I believe Assimp
> (http://assimp.sourceforge.net) supports loading geometries from .dae
> files.
> 
> 
> Tim
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users





More information about the ros-users mailing list