Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about the implement in PointCloud #384

Open
Ericsii opened this issue Oct 5, 2022 · 0 comments
Open

Question about the implement in PointCloud #384

Ericsii opened this issue Oct 5, 2022 · 0 comments

Comments

@Ericsii
Copy link

Ericsii commented Oct 5, 2022

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.

inline void reserve(size_t size) {points.reserve(size); }

I suggest adding an 'octomap::PointCloud::resize' function in order to pre-insert elements to this vector.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants