MarkusEich / cpf_segmentation

Constrained Plane Fitting library for unsupervised segmentation of 3D point clouds
Apache License 2.0
81 stars 43 forks source link

Uninitialized variables #2

Open julien-arch opened 8 years ago

julien-arch commented 8 years ago

Uninitialized variables seem to result in segmentation fault when I run code that I added to process the resulting clusters. After running Valgrind, it seems that the segmentation fault comes from uninitialized variables in the original code. Also, note an Eigen assertion failed, not sure if this is related.

Output of Valgrind on the original code (changed to Debug in the cmake) when running command: valgrind --leak-check=yes ./segmentation_test ../test_data/tango-top.pcd -o is attached. valgrind_out.txt