2 July 2019 at 11 h 45 min #13886nickljParticipant
- IHPC, A*STAR
After I build SOFA from scratch together with SoftRobots and STLIB plugins (all master branch on the date of July 2), I met some problem when running the tutorial case located in SoftRobots/docs/tutorials/CableGripper/details
$ runSofa cablegripper.pyscn
The program can run, and the main sofa window can appear. However, there is ERROR information as:
[ERROR] [TetrahedronSetTopologyContainer(container)] Cannot find edge 0 [28, 77] in triangle 0 [ERROR] [TetrahedronSetTopologyContainer(container)] Cannot find edge 0 [28, 77] in triangle 0 [WARNING] [TetrahedronSetTopologyContainer(container)] TrianglesAroundEdge buffer can't be created as EdgesInTriangle buffer creation failed. [ERROR] [TetrahedronSetTopologyContainer(container)] Cannot find triangle 0 [140, 113, 125] in tetrahedron 0 [ERROR] [TetrahedronSetTopologyContainer(container)] Cannot find triangle 0 [140, 113, 125] in tetrahedron 0 [WARNING] [TetrahedronSetTopologyContainer(container)] TetrahedraAroundTriangle buffer can't be created as trianglesInTetrahedron buffer creation failed. [WARNING] [CableConstraint(CableConstraint)] An old implementation of CableConstraint was not allowing negative force. This is now possible. However, to limit the force to be strictly positive you now have to set minForce=0.
The same information repeated 3 times as there are three fingers. I found this seems to be the problem when SOFA read vtk meshes. Then I use gmsh to convert the .vtk mesh to .msh format (only support version 2, but not version 4), and change volumeMeshFileName to the msh file. Then the error disappears.
Then, no matter use vtk file (with errors), or use msh file (without errors), the gripper can correctly move, but cannot use ctrl+ to grasp. The fingers can interact with brick, but just directly penetrate the plate surface.
Sorry for all these chaos information. Some of them maybe caused by SOFA, some of them maybe caused by SoftRobots/STLIB, or may because I still did not setup the software correctly. So would appreciate if anyone may help me to figure it out.9 July 2019 at 16 h 29 min #13922
I am no expert from SoftRobot, but I just poked the SoftRobot devs! The community should get back to you!
Hugo3 August 2019 at 20 h 34 min #140584 January 2021 at 0 h 07 min #18099twxuParticipant
Hi @nicklj, @Damien Marchal,
Sorry to add to an old post, but I am experiencing the same issue (after updating SOFA from v19.06 to v20.12). I see the exact same warning messages, but the scene still appears to work as it did before (using .VTK files).
Any updates on why these error messages appear?11 January 2021 at 20 h 19 min #18185
I would guess that your mesh has some issue (maybe duplicated edge). Could you check this ?
Hugo11 January 2021 at 23 h 56 min #18194twxuParticipant
Is there a way to check that inside SOFA? It seems ok when opened in Gmsh.
I’m also confused by this error because I only saw it appear after switching to v20.06 (the same scene opened in v19.06 did not show these errors).14 January 2021 at 10 h 13 min #18214
These checked were added by @epernod.
Could you confirm us Erik that these errors (see first post) come from issues in the mesh? could you tell us more?
Hugo14 January 2021 at 11 h 46 min #18216epernodParticipant
yes I saw that as well. Indeed the mesh file used in this tutorial need some cleanup. The errors notify that some topological element are not created but in this mesh they correspond to duplicated elements. This is not affecting the tutorial behavior.
I’ll clean it up when I have 2 mins.
best,22 January 2021 at 20 h 23 min #18378beichunParticipant
- Columbia University
I’m also having the same problem. Would like to hear any update! Is the mesh updated @epernod ?25 January 2021 at 2 h 55 min #18382beichunParticipant
- Columbia University
Problem solved 🙂
I managed to convert the mesh, by converting the finger.stl to finger.msh using gmsh (needed to use format version 2, the default version 4 doesn’t work).5 February 2021 at 10 h 05 min #18518
- You must be logged in to reply to this topic.