Ask Your Question

PCD to Octree

asked 2013-07-01 02:53:55 -0600

arp gravatar image


I have a registered point-cloud as PCD file. I want to convert it into octree representation. There are two ways I could go. The first one is by using PCL. The second method by using octomap. Is there any difference between them? Which one should I choose? How could it be done using octomap?


edit retag flag offensive close merge delete


Have you got any answer?

arczi gravatar imagearczi ( 2014-12-13 11:26:04 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-07-25 16:43:24 -0600

swethmandava gravatar image

First used pcl to publish a point cloud from the pcd file and then used octomap to get the octree

<node pkg = "pcl_ros" type = "pcd_to_pointcloud" name = "show_pointcloud" args = "xyz.pcd _frame_id:=/world" output="screen" /
<node pkg="octomap_server" type="octomap_server_node" name="octomap_server">
    <param name="resolution" value="0.4" />
    <param name="frame_id" type="string" value="world" />
    <!-- maximum range to integrate (speedup!) -->
    <param name="sensor_model/max_range" value="100" />
    <!-- data source to integrate (PointCloud2) -->
    <remap from="cloud_in" to="/cloud_pcd" />
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2013-07-01 02:53:55 -0600

Seen: 890 times

Last updated: Jul 25 '17