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

ROS kinect distance information

asked 2013-07-20 22:21:42 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I want distance information from kinect.

1, roslaunch openni_launch openni.launch

2, rostopic echo camera/depth/image

The value are 0,0,0,0,127,255,2,5,0,0.....

what is this value?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
4

answered 2013-07-21 20:46:34 -0500

jep31 gravatar image

This is your image as mentioned in the topic title. Please read the documentation of openni_launch where the topic depth/image is explained. This is a message as sensor_msgs/Image. Look this page to know how read it.

However if you want to read the distance (depth) I advise you to use camera/depth/points inside a node as PointCloud2 or XYZ point cloud using PCL.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-07-20 22:21:42 -0500

Seen: 1,152 times

Last updated: Jul 21 '13