OctoMap / octomap

An Efficient Probabilistic 3D Mapping Framework Based on Octrees. Contains the main OctoMap library, the viewer octovis, and dynamicEDT3D.
http://octomap.github.io
1.87k stars 652 forks source link

large difference in speed between add pointcloud to octomap and remove it from the octomap #393

Open dbdxnuliba opened 1 year ago

dbdxnuliba commented 1 year ago

Your environment

As shown above gif , 1)when the object point cloud appears, the octomap of the original non-occupied part is updated to the map of the occupied part very quickly,and it seems good; 2)but the question is when the object point cloud moves away, the map of the original occupied part should be updated to the non-occupied part, but we can see It is very slow to update the non-occupancy part. 3)and the delay time is about 2 seconds between point cloud disapper and octomap update to non-occupancy state in rviz , is this a bug,how can we improve it ?

and the point_cloud_topic frequency is 6 hz,

Question : 1)Why is there such a big difference in speed between add pointcloud to octomap and remove it from the octomap 2)how can we speed up the process about when the object point cloud moves away, the map of the original occupied part update to the non-occupied part