An Efficient Probabilistic 3D Mapping Framework Based on Octrees. Contains the main OctoMap library, the viewer octovis, and dynamicEDT3D.
1.94k
stars
657
forks
source link
Question about the implement in PointCloud #384
Open
Ericsii opened 1 year ago
I was looking for a method to convert parallel 'pcl::PointCloud' to 'octomap::PointCloud'. Therefore, I was trying to find a 'resize' function of 'octomap::PointCloud::points' in order to access the element directly from multi threads. https://github.com/OctoMap/octomap/blob/92a9f14cafa5f567c47b58cbe91137c9a6ba1b0c/octomap/include/octomap/Pointcloud.h#L59 I suggest adding an 'octomap::PointCloud::resize' function in order to pre-insert elements to this vector.