Skip to content

Fix segfault of NDT for sparse clouds#5399

Merged
mvieth merged 1 commit intoPointCloudLibrary:masterfrom
mvieth:ndt_sparse_clouds
Aug 31, 2022
Merged

Fix segfault of NDT for sparse clouds#5399
mvieth merged 1 commit intoPointCloudLibrary:masterfrom
mvieth:ndt_sparse_clouds

Conversation

@mvieth
Copy link
Copy Markdown
Member

@mvieth mvieth commented Aug 23, 2022

  • VoxelGridCovariance: if searchable requested but no valid voxel centers, print warning and set searchable to false
  • in NDT, check if VoxelGridCovariance is searchable, and do not start registration if not searchable
  • add function to NDT to change MinPointPerVoxel of VoxelGridCovariance

Fixes #5392
Fixes #2333

@mvieth mvieth added module: filters module: registration changelog: fix Meta-information for changelog generation labels Aug 23, 2022
- VoxelGridCovariance: if searchable requested but no valid voxel centers, print warning and set searchable to false
- in NDT, check if VoxelGridCovariance is searchable, and do not start registration if not searchable
- add function to NDT to change MinPointPerVoxel of VoxelGridCovariance
@mvieth mvieth force-pushed the ndt_sparse_clouds branch from 3343110 to 2984f16 Compare August 23, 2022 09:27
Comment thread registration/include/pcl/registration/impl/ndt.hpp
@mvieth mvieth requested a review from larshg August 26, 2022 07:13
@mvieth mvieth merged commit 2ef6ae2 into PointCloudLibrary:master Aug 31, 2022
@mvieth mvieth deleted the ndt_sparse_clouds branch August 31, 2022 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog: fix Meta-information for changelog generation module: filters module: registration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[registration] Sporadic segfault in NDT after repeated align NormalDistributionsTransform segfaults with a sparse pointcloud

2 participants