0
$\begingroup$

Rosanswers logo

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?


Originally posted by Ichiro suzuki on ROS Answers with karma: 1 on 2013-07-20

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

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.


Originally posted by jep31 with karma: 411 on 2013-07-21

This answer was ACCEPTED on the original site

Post score: 4

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.