Robotics StackExchange | Archived questions

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 octomapserver octomapmapping.launch after all other publisher available(eg. orbslam2), Nothing gets printed in my window.

Asked by s2037173 on 2019-10-17 08:00:15 UTC

Comments

can some one help me out? i am using https://github.com/OctoMap/octomap_mapping 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???

Asked by s2037173 on 2019-10-31 19:05:36 UTC

Answers

Hey,

You can have a look into this link: https://stackoverflow.com/questions/57916947/understanding-the-voxel-grid-implementation-of-pcl-library

may be it will be helpful.

Asked by Suri on 2020-12-31 03:41:49 UTC

Comments