3D object recognition, MeshLabServer error!!!

asked 2014-01-21 00:17:06 -0500

seredin gravatar image

updated 2014-01-28 17:19:06 -0500

ngrennan gravatar image

Hi all!

My system is Ubuntu 12.04, Groovy, I install OKR from ROS repositories. I had successfully launch commands:

rosrun object_recognition_capture capture --seg_z_min 0.01 -o silk.bag rosrun object_recognition_capture upload -i silk.bag -n 'Tonus' -d 'A carton of Tonus brand juice.' --commit juice, kitchen

I have a problem when I create the mesh of the object in the database:

rosrun object_recognition_reconstruction mesh_object --all --visualize --commit
Input mesh  /home/max/cloud_5a7ecd4d5f233ea036a4bdbf15017030_00000.ply
output mesh  /tmp/tmpCc11Hu/cloud_5a7ecd4d5f233ea036a4bdbf15017030.stl
script /tmp/tmpzci2O7
Loading Plugins:
Current Plugins Dir is: /usr/lib/meshlab/plugins 
Code:
 Plugins = { };
Plugins.FilterCreate = { };
Plugins.FilterCreate.box = function (size)
{
    var tmpRichPar = new IRichParameterSet();
    if (!_initParameterSet("Box",tmpRichPar)) return false;
    tmpRichPar.setFloat("size",arguments[0]);
    return _applyFilter("Box",tmpRichPar);
};

Plugins.FilterCreate.sphere = function ()
{
    var tmpRichPar = new IRichParameterSet();
    if (!_initParameterSet("Sphere",tmpRichPar)) return false;
    return _applyFilter("Sphere",tmpRichPar);
};

Plugins.FilterCreate.icosahedron = function ()
{
    var tmpRichPar = new IRichParameterSet();
    if (!_initParameterSet("Icosahedron",tmpRichPar)) return false;
    return _applyFilter("Icosahedron",tmpRichPar);
};

Plugins.FilterCreate.dodecahedron = function ()
{
    var tmpRichPar = new IRichParameterSet();
    if (!_initParameterSet("Dodecahedron",tmpRichPar)) return false;
    return _applyFilter("Dodecahedron",tmpRichPar);
};

Plugins.FilterCreate.tetrahedron = function ()
{
    var tmpRichPar = new IRichParameterSet();
    if (!_initParameterSet("Tetrahedron",tmpRichPar)) return false;
    return _applyFilter("Tetrahedron",tmpRichPar);
};

Plugins.FilterCreate.octahedron = function ()
{
    var tmpRichPar = new IRichParameterSet();
    if (!_initParameterSet("Octahedron",tmpRichPar)) return false;
    return _applyFilter("Octahedron",tmpRichPar);
};

Plugins.FilterCreate.cone = function (r0, r1, h, subdiv)
{
    var tmpRichPar = new IRichParameterSet();
    if (!_initParameterSet("Cone",tmpRichPar)) return false;
    tmpRichPar.setFloat("r0",arguments[0]);
    tmpRichPar.setFloat("r1",arguments[1]);
    tmpRichPar.setFloat("h",arguments[2]);
    tmpRichPar.setInt("subdiv",arguments[3]);
    return _applyFilter("Cone",tmpRichPar);
};

Plugins.PhotosynthImporterPlugin = { };
Plugins.PhotosynthImporterPlugin.importPhotosynth = function (synthURL, clusterID, saveImages, savePath, addCameraLayer)
{
    var tmpRichPar = new IRichParameterSet();
    if (!_initParameterSet("Import Photosynth data",tmpRichPar)) return false;
    tmpRichPar.setString("synthURL",arguments[0]);
    tmpRichPar.setInt("clusterID",arguments[1]);
    tmpRichPar.setBool("saveImages",arguments[2]);
    tmpRichPar.setString("savePath",arguments[3]);
    tmpRichPar.setBool("addCameraLayer",arguments[4]);
    return _applyFilter("Import Photosynth data",tmpRichPar);
};

Plugins.ExtraSamplePlugin = { };
Plugins.ExtraSamplePlugin.randomVerticesDisplacement = function (UpdateNormals, Displacement)
{
    var tmpRichPar = new IRichParameterSet();
    if (!_initParameterSet("Random vertex displacement",tmpRichPar)) return false;
    tmpRichPar.setBool("UpdateNormals",arguments[0]);
    tmpRichPar.setAbsPerc("Displacement",arguments[1]);
    return _applyFilter("Random vertex displacement",tmpRichPar);
};


Total 208 filtering actions
Total 14 io plugins
Opening a file with extention ply
MeshLabServer: Failed loading of /home/max/cloud_5a7ecd4d5f233ea036a4bdbf15017030_00000.ply from dir /home/max
Mesh cloud_5a7ecd4d5f233ea036a4bdbf15017030_00000.ply loaded has 4921 vn 0 fn
Apply FilterScript: '/tmp/tmpzci2O7'
FilterScript
Reading filter with name Surface Reconstruction: Ball Pivoting
    Reading Param with name BallRadius : RichAbsPerc
    Reading Param with name Clustering : RichFloat
    Reading Param with name CreaseThr : RichFloat
    Reading Param with name DeleteFaces : RichBool
Reading filter with name Laplacian Smooth
    Reading Param with name stepSmoothNum : RichInt
    Reading Param with name Boundary : RichBool
    Reading Param with name Selected : RichBool
Starting Script of 2 actionsfilter: Surface Reconstruction: Ball Pivoting
meshlabserver: ../../../../vcglib/vcg/space/index/grid_static_ptr.h:94: vcg::GridStaticPtr<OBJTYPE, FLT>::Link::Link(vcg::GridStaticPtr<OBJTYPE, FLT>::ObjPtr, int) [with OBJTYPE = CVertexO, FLT = float, vcg::GridStaticPtr<OBJTYPE, FLT>::ObjPtr = CVertexO*, vcg::GridStaticPtr<OBJTYPE, FLT>::ObjType = CVertexO]: Assertion `ni>=0' failed.
Traceback (most recent call last):
  File "/opt/ros/groovy/lib/object_recognition_reconstruction ...
(more)
edit retag flag offensive close merge delete