Display octree orientation and octree density(number of points in a voxel)
Iam using octomap_mapping package. I have generated octomap for a cylinder in gazebo and can view that in Rivz. I am trying to reconstruct point cloud efficiently. So I need to know which all voxel has least number of points in it. How can i display the coordinates of every voxel and the point density of every voxel?
i tried to print octree-> size() in octomapServer.cpp , when i launch it using roslaunch octomap_server octomap_mapping.launch after all other publisher available(eg. orbslam2), Nothing gets printed in my window.
can some one help me out? i am using https://github.com/OctoMap/octomap_ma... for 3d object reconstruction. I need to find the least point cloud density region to improve the number of points in those region. Is it possible to find ou number of points in each voxel? or can anybody give an alternative solution???