-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add VoxelGridLarge - to handle larger point clouds / smaller leaf sizes #4385
base: master
Are you sure you want to change the base?
Add VoxelGridLarge - to handle larger point clouds / smaller leaf sizes #4385
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @MarkHedleyJones Thanks for the PR and the amazing writeup
PCL is going in a different direction to support large point clouds. We are using pcl::index_t
and allowing the users to configure the library using PCL_INDEX_SIZE
and PCL_INDEX_SIGNED
.
As such, would it be possible for you to instead change the VoxelFilter itself to use index_t
instead of int
?
In the current state, this PR duplicates a lot of code and is hard to review. I would not be in favor of merging this.
Hi @kunaltyagi |
@kunaltyagi Hi. I've made some changes to the existing voxel_grid implementation in line with your suggestion of using |
Marking this as stale due to 30 days of inactivity. Commenting or adding a new commit to the pull request will revert this. |
This pull request addresses #4365
It replaces the use of an
int
based voxel index variable withint64_t
type.As an example, this modification increaces the capacity of the filter (with a 3cm leaf size in each axis) from 38.7m³ to 62.9km³.
The change was made in a copy of the voxel_grid filter, called voxel_grid_large.
I did this to prevent negatively impacting any users of the original voxel_grid filter (for example, I don't know what the performance cost would be on embedded systems).
A summary of the performance of this change is: