Marching cubes skips voxels with low weights
schornakj opened this issue · comments
There's a hard-coded minimum weight value which is used to determine if a voxel should be meshed or not. If a small number of scans are used to create the surface reconstruction, the output mesh could be incomplete or empty.
yak/yak/src/mc/marching_cubes.cpp
Lines 42 to 47 in ac84aa6
Probably the root cause of this issue in yak_ros
.
Nice!
Well, not so nice it's hard coded, but this confirms a hypothesis we (me and @dave992) formed while trying to debug what was going on.
We hadn't yet made it to yak
itself.
Thanks for the insight @schornakj.
@dave992: this doesn't mean a proper extrinsic calibration shouldn't be performed :)