[MoveIt!] Certain .stl files can't be used
Hi,
I'm trying to implement a robot model into MoveIt!. URDF-file and meshes have been build by my colleagues.
The robot can be viewed using RViz. However, when I'm loading the URDF into the MoveIt Setup Assistent such an error is given:
[ INFO] [1472814379.176343132]: Loaded complete robot model.
[ INFO] [1472814379.176441870]: Setting Param Server with Robot Description
[ INFO] [1472814379.184765149]: Robot semantic model successfully loaded.
[ INFO] [1472814379.184804317]: Setting Param Server with Robot Semantic Description
[ INFO] [1472814379.200211356]: Loading robot model 'complete'...
[ INFO] [1472814379.200256287]: No root joint specified. Assuming fixed joint
================================================================================REQUIRED process [moveit_setup_assistant-2] has died!
process has died [pid 24116, exit code -11, cmd /opt/ros/indigo/lib/moveit_setup_assistant/moveit_setup_assistant __name:=moveit_setup_assistant __log:=
[...]
The problem seems to be caused by certain .stl meshes that are used. These meshes can be used as collision link elements, but not as visual link elements. If these specific meshes are not loaded the error doesn't occur.
Has someone experienced something similar? What might cause this problem that only MoveIt! seems to have with these .stl files.
Could you share your URDF file please?
yes, https://www.dropbox.com/s/khpe1746y3g... The meshes that cause the problem are upper_arm_iam, wrist_iam and all meshes having 'finger' in their name
I had some problems with custom-made STL files given to me by our MechEs. In my case, it was an encoding problem. I used this utility to convert them: https://github.com/cmpolis/convertSTL (Yours might be a completely different problem.)
Without access to your meshes I think it's going to be difficult to really diagnose this, but in general:
solid
in your header (SolidWorks does this, for binary STLs, it's incorrect)