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

How can I get depth values?

asked 2012-08-20 21:26:24 -0600

rosmaker gravatar image

updated 2012-08-21 04:07:59 -0600

I am using the ubuntu 11.10 and openni driver.

I want to know depth values about my kinect image.

How can I get or see depth values(distances)?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-08-21 05:38:17 -0600

joq gravatar image

updated 2012-08-21 05:47:37 -0600

REP-0118 explains the depth image interface.

Assuming you are using the openni_launch package, the topics published are documented here. From what you asked, you probably want one of these:

  • /camera/depth/image
  • /camera/depth/points

The image is a 2D depth matrix containing floating point distances in meters. The points are a 3D point cloud in the camera's frame of reference (/camera_depth_optical_frame).

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-08-20 21:26:24 -0600

Seen: 757 times

Last updated: Aug 21 '12