3dtof / voxelsdk

VoxelSDK - an SDK supporting TI's 3D Time of Flight cameras
BSD 3-Clause "New" or "Revised" License
108 stars 71 forks source link

Add the ability to save point cloud frames in the .pcd format #147

Open suramyag1 opened 6 years ago

suramyag1 commented 6 years ago

VoxelSDK saves point clouds in a format different to the standard .pcd

Add the ability to save the point cloud frame using the *.pcd format.

YonseiLidar commented 5 years ago

Please share how you did make it. Here still I got the same problem to match the point clouds data format when saving.

suramyag1 commented 5 years ago

@YonseiLidar This hasn't been done yet. However, I do have a python script to save the point cloud data to the pcd format (note that this is saved as text, so the file size is quite large, even for a single frame). Replace txt with py. You need python 2.7 for this, with numpy and tqdm along with Voxel libraries built for python.

You can do something similar in C++ pointCloudExtract.txt

Hope this helps.

Suramya