Open zhaozhongch opened 4 years ago
About the second problem, I figure it out.
The first integrateRays
is for min_ray_length<points.norm()<max_ray_length
The second integrateRays
is for point.norm>max_ray_length
If configure parameter allow_clear
is set as true
then voxel will be only integrated up to max_ray_length
instead of point.norm()
I am reading the code of voxblox. Part of code me confuses a lot. 1:in
intergrator_utils.cc
It compares
(std::abs(ray_scaled.x()) < 0.0
with 0? How could abs return a value smaller than zero?2: in
tsdf_integrate.cc
,MergedTsdfIntegrator::integratePointCloud
There is a flag called
is_clearing_ray
turn from false to true so the ray is integrated twice. Why do we need to do twice integration here with a different condition? What will happen if I don't clear the rays?