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

Revision history [back]

click to hide/show revision 1
initial version

The x,y,z values of a point cloud point give the position relative to the frame defined in the message header. E.g. the Kinect frame. If you want to calculate the distance between your camera's lens and a specific point you only need to determine the length of the point's vector. vec_length = square_root(x^2 + y^2 + z^2).