-
Notifications
You must be signed in to change notification settings - Fork 329
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
Revise Voxel functionalities in VoxelHashMap and Preprocessing #362
Conversation
This now potentially invalidates #360, but I feel it is probably what we want. |
I am a bit confused now, because we now have 3 or even 4 downsampling strategies with corresponding PRs 😆 How about first unifying the Voxel indexing by having one and only one |
Ah, no, my confusion. The downsampled result will be the same. This removes a lot of boilerplate code, nice! I just don't like providing a dummy |
For the sake of records, once we also did this. But we decided to split it to avoid inter dependencies between the modules. With this change of I want to compile the preprocessing module I first need the voxel hash map. Additionally, we also wanted to leave the door open for people who might want to borrow the solely one module and thus most of the pieces are isolated (from a build perspective). That said, we might revise this idea now 💡 as I don't think it was a the most use case of the project. We could do this but I would avoid this "hacky" thing, as if one reads it is not clear why you are creating a "map" If we want to merge the implementations I see 2 options
Wdyt? |
some side effect code reduction
@tizianoGuadagnino is it too much to ask now for splitting this into 2 PR's? 90% of the changes are style changes and not the original idea we had for this PR? I will like to have 2 commits in the history, 1 for the moving the existing utilities to a separate header, and a follow up changing style, raw for loops for for each, etc |
@nachovizzo I can, but spiritually, these two changes are actually one, which is we revise everything that regards Voxels. This includes In the meantime, I will change the name of the PR to be consistent. |
ee51fe2
to
9b2b2cd
Compare
@tizianoGuadagnino I updated this PR with the only changes that should be, without any style change Let's follow up on the style changes in #364 |
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.
Awesome, thank you guys :)
This unify the usage of
Voxel
andVoxelHash
betweenPreprocessing
andVoxelHashMap
, so that all theusing
are in one and one place only.