Skip to content

Segmentation fault when setting link to Geometry3D object #214

@BennoWingender

Description

@BennoWingender

Hello,

im currently facing an issue, that I get a segmentation fault when trying to set my virtual_link in the robot to a Geometry3D object, while having a WorldCollider active.

  • Setting the link with a box geometry works (from klampt.model.create import box; obj_klampt = box(0.05, 0.05, 0.05))
  • I furthermore tried to comment out the WorldCollider - With that no segmentation fault seems to occur in my example code.
  • I tried to save the mesh to .off file and load it again, furthermore it was tried to make our o3d object a trimesh and then set it to klampt, but sadly that also did not work for us.

I will provide the code and I hope all related files in the appendix to reproduce the error. Otherwise feel free to write me whats missing!
Sadly the files are to big for uploading them so they can be found here

  • Right now I am loading a pointcloud, making it to an o3d_mesh (open3d)
  • The o3d_mesh is then processed to klampt and set as geometry for the robots link
  • The segfault does not appear on setting the geometry but a very short time after

Kind Regards,
Benno

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions