camerarosdepthdepth-camera

depth camera interpretation of data ROS


I am using ROS with a depth camera, and the data for each pixel is 4 bytes. Example: 0,0,192,127

I am trying to extract the distance to a point but I don't know what the 4 numbers represent.


Solution

  • I think you might wanna search for cv_bridge to convert the sensor_msgs::Image to "real" data for further processing. Can have a look at the tutorial here.Link