VIS4ROB-lab / voxfield

🦊 Voxfield: non-Projective Signed Distance Fields for Online Planning and 3D Reconstruction [IROS' 22]
BSD 3-Clause "New" or "Revised" License
267 stars 27 forks source link

runtime error when removeDistantBlocks is enabled; #7

Open ynma-hanvo opened 1 year ago

ynma-hanvo commented 1 year ago

thanks for sharing your latest work. when i enable the max_block_distance_from_body to small value like 2.0; updateESDF function always have illegal memory access, I tried to check for null_ptr and skip the following access to them, but then the updateEsdf will hanging sometimes.
What is the best way to get rid of it if I need to enable max_block_distance_from_body ;

ynma-hanvo commented 1 year ago

the problem only exists if removeDistantBlock also executes for esdf layer;