ros3djs not able to display my 3D files
Hello! I've built a part in solidworks and exported it into a STL file. So I'm trying to display it on the web browser through the package ros3djs ( http://wiki.ros.org/ros3djs/Tutorials... ). When I try to show it, the web console gives me an error, so I have converted into .dae format through the Meshlab software. I'm using the following URDF code:
<?xml version="1.0"?>
<robot name="robottt">
<link name="base_link">
<visual>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<mesh filename="file:///home/ros/catkin_ws/src/robottt/robots/base_link.dae" />
</geometry>
</visual>
</link>
</robot>
I don't know what could be going wrong, the same urdf is well-displayed in rviz. I have tested exchanging the path filename to a pr2_description part, and it does well on the web browser and rviz.
<mesh filename="package://pr2_description/meshes/gripper_v0/l_finger.dae" />
Some errors are shown on the web console, but these are the same in both .dae files, so I think it is not the reason for not showing my model.
I upload my .dae file if you want to test it. https://www.dropbox.com/s/m140qdyeze7...
Any idea? I've been stuck in this for some days. I have also tried lighter .dae files without any success. And also tried to convert it into .dae format through other software such as OpenCollada in Maya, and some online converters.
Thank you very much, I appreciate any help.
Ruben