ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

pointcloud to XYZ without .pcd file

asked 2015-02-01 02:25:25 -0600

gaussian gravatar image

I want to subscribe for PointCloud2 data from kinect and work on the encoded XYZ data subsequently in the same program without saving it as .pcd file and again retrieving it back for XYZ data for real time processing. Because it occupies a lot of memory and computational time. Is it possible to do it directly?

Thanks in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2023-01-23 11:39:27 -0600

ignacio gravatar image

You can convert to sensor_msgs::PointCloud and work with the XYZ coordinates that you wanted or to pcl::PointCloud. But later you need to convert back to sensor_msgs::PointCloud2 to send the serialized message

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-02-01 02:25:25 -0600

Seen: 530 times

Last updated: Jan 23