Items with no label
3335 Discussions

How do I generate a Pointcloud

idata
Employee
1,183 Views

I would like to generate a pointcloud, like in ROS sensor_msgs/PointCloud2. Any pointers would be welcome. Otherwise, I'll post any progress I make towards this in this thread.

0 Kudos
4 Replies
MartyG
Honored Contributor III
213 Views

Could you tell us please whether you are using the RealSense SDK with Windows or the Librealsense SDK with Linux please? Thanks!

0 Kudos
idata
Employee
213 Views

I'm using and Euclid running ROS, so it's librealsense. I see that '/camera/depth/points' is in the 'rostopic list' so I expect that I'll need to write a node that subscribes to this.

0 Kudos
MartyG
Honored Contributor III
213 Views

Here is a script for a Librealsense tutorial example for generating a point cloud. I hope it will be of use to you.

https://github.com/IntelRealSense/librealsense/blob/master/examples/cpp-tutorial-3-pointcloud.cpp librealsense/cpp-tutorial-3-pointcloud.cpp at master · IntelRealSense/librealsense · GitHub

0 Kudos
Amit_M_Intel
Employee
213 Views

That's right.

you can simply register to that topic and get the generated pointcloud.

Marty's answer is correct if you do not want to use ROS.

0 Kudos
Reply