copy pcl cloud from pcd file to cuda device

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

copy pcl cloud from pcd file to cuda device

priyank
Hi all,

I am trying to run some pcl algorithms on cuda from already grabbed pcd file. I am reading the pcd file using pcd reader and now want to transfer it to cuda.

<code>
PointCloudAOS<Device>::Ptr data;
pcl::PointCloud<pcl::PointXYZRGB>::Ptr in (new pcl::PointCloud<pcl::PointXYZRGB>);
pcl::PCDReader reader;
reader.read(argv[1],*in);
pcl::cuda::fromPCL(*in,*data);
</code>

This code does not compile and I receive an error stating

simple_point.cpp:(.text+0x141): undefined reference to `pcl::cuda::fromPCL(pcl::PointCloud<pcl::PointXYZRGB> const&, pcl::cuda::PointCloudAOS<pcl::cuda::Device>&)'

When I checked the code for cloud_from_pcl.cu in the src dir, I found out that it is not yet implemented.

Is there any way to copy pcd file to cuda device.

regards,
priyank
Reply | Threaded
Open this post in threaded view
|

Re: copy pcl cloud from pcd file to cuda device

teaminline
This post was updated on .
Hello,
I have a similiar problem where I need to copy a pcl::PointXYZRGB into PointCloudAOS for gpu processing. Has anyone done this before?
The fromPCL doesnt seem to be implemented
Thanks,
Vignesh