Skip to content

lucabart97/pcl_custom_allocator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Point Cloud Library 1.13.0 fork

Release License

Why this repo?

This repository aims to enable the use of Point Cloud Library (PCL) in a zero-copy manner with other cloud stacks. By using a container other than a std::vector, it reduces the overhead of constructors/destructors and resizing.

Changes

  • Resolved issue with finding CUDA libraries
  • Implemented tk_allocator to allow mapping of pre-existing memory
  • Fixed compilation errors on ARM architecture
  • Fixed issue with finding Google Test framework

Example

pcl::PointCloud<pcl::PointXYZ>::Ptr cloud(new pcl::PointCloud<pcl::PointXYZ>());

std::array<pcl::PointXYZ, 460400> data;
cloud->points = std::vector<pcl::PointXYZ, tk::tk_allocator<pcl::PointXYZ>>(0, tk::tk_allocator<pcl::PointXYZ>(data.data(), 460400));

About

Point Cloud Library (PCL)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 92.4%
  • Cuda 4.3%
  • CMake 2.2%
  • C 1.0%
  • Python 0.1%
  • Dockerfile 0.0%