ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

getting data from a pointcloud2 coming from Kinect

asked 2011-06-22 11:15:38 -0500

surfexceltide gravatar image

updated 2011-06-22 13:29:26 -0500

I am working on getting depth data from Kinect. as i understand, the point cloud topic from Kinect (/camera/depth/points2) directly provides depth data in meters in the form of a pointcloud2 (please correct me if I am wrong!)

however, after browsing through pointcloud2 documentation, I did not find any method to, say, access the value of a specific point in the point cloud. then I read somewhere that pointcloud2 is abstracted in such a way that data cannot be accessed directly from it. (is that true?)

could anyone help me out with getting data from the pointcloud2 topic that I am subscribing to? thanks!

edit retag flag offensive close merge delete

Comments

Try to search through the history of questions. This answer was already asked a few times.
KoenBuys gravatar image KoenBuys  ( 2011-06-22 22:50:58 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
4

answered 2011-06-22 11:18:33 -0500

fergs gravatar image

You probably will want to use the Point Cloud Library (http://www.ros.org/wiki/pcl) to access and manipulate cloud data. There are several tutorials available.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-06-22 11:15:38 -0500

Seen: 1,704 times

Last updated: Jun 22 '11