diff --git a/depth_image_proc/src/point_cloud_xyz.cpp b/depth_image_proc/src/point_cloud_xyz.cpp index d3086435d..09d1ca514 100644 --- a/depth_image_proc/src/point_cloud_xyz.cpp +++ b/depth_image_proc/src/point_cloud_xyz.cpp @@ -105,7 +105,7 @@ void PointCloudXyzNode::depthCb( model_.fromCameraInfo(info_msg); // Convert Depth Image to Pointcloud - if (depth_msg->encoding == enc::TYPE_16UC1) { + if (depth_msg->encoding == enc::TYPE_16UC1 || depth_msg->encoding == enc::MONO16) { convertDepth(depth_msg, cloud_msg, model_); } else if (depth_msg->encoding == enc::TYPE_32FC1) { convertDepth(depth_msg, cloud_msg, model_);