Using Grid/MaxObstacleHeight
with OctoMap is not working as expected with ray tracing
#1350
Labels
Grid/MaxObstacleHeight
with OctoMap is not working as expected with ray tracing
#1350
Refer to this discussion: introlab/rtabmap_ros#1194 (comment)
The issue is that points over the obstacle threshold won't be used for ray tracing, so some dynamic obstacles even smaller than max obstacle height may still remain in the OctoMap after it is gone. We should handle Grid/MinGroundHeight and Grid/MaxObstacleHeight differently if both Grid/3D and Grid/RayTracing are enabled. We should not filter the cloud like this:
rtabmap/corelib/include/rtabmap/core/impl/LocalMapMaker.hpp
Lines 111 to 117 in 538bc68
Instead, forward
Grid/MinGroundHeight
andGrid/MaxObstacleHeight
to OctoMap and treat them likeGrid/RangeMax
parameter, so that ray tracing can clear obstacles for which the background is seen outside the obstacle volume.rtabmap/corelib/src/global_map/OctoMap.cpp
Lines 530 to 541 in 538bc68
The text was updated successfully, but these errors were encountered: