Display octree orientation and octree density(number of points in a voxel)

asked 2019-10-17 08:00:15 -0600

s2037173 gravatar image

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.

edit retag flag offensive close merge delete

Comments

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???

s2037173 gravatar images2037173 ( 2019-10-31 19:05:36 -0600 )edit