yangjiaolong / Go-ICP

Implementation of the Go-ICP algorithm for globally optimal 3D pointset registration
http://jlyang.org/go-icp/
GNU General Public License v3.0
442 stars 97 forks source link

Segfault on MacOs #13

Closed sashakolpakov closed 1 year ago

sashakolpakov commented 1 year ago

Building Distance Transform...0.000445s (CPU) Model ID: demo/model_bunny.txt (35947), Data ID: demo/data_bunny.txt (30379) Registering... zsh: segmentation fault ./GoICP demo/model_bunny.txt demo/data_bunny.txt demo/config.txt

Regretfully, the code does not work out of the box (tried both ARM and Intel architectures). Any advice on how to correct the segfault problem would be much appreciated.

sashakolpakov commented 1 year ago

Apparently the downsample rate has to be explicitly given, otherwise it might not be working. For now it works almost out of the box on MacOS M1, everything is great! Thanks!