VIS4ROB-lab / voxfield

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

why limit the esdf error calculation? #4

Closed maulanaazhari closed 1 year ago

maulanaazhari commented 2 years ago

in the code, you limit the esdf error calculation by 2*voxel_size, is there any reasons behind this calculation choice? cur_error_dist = std::min( error_trunc_limit, std::max(-error_trunc_limit, cur_error_dist)); // NOLINT

YuePanEdward commented 1 year ago

Sorry for the late reply and thanks for your interest in our work. This part of the code is only used for debugging and visualizing the error on-the-fly. The ESDF error here is calculated using the built occupancy grid as the reference (as the same metrics in FIESTA). The error we reported in the paper is calculated by taking the ground truth model as the reference. You may check the codes MapEvaluator::computeEsdfError from here. But still, we follow Voxblox to use 2*voxel_size as the truncation distance for a fair comparison with baselines. This may reject some outliers caused by the incomplete ground truth model.