OrbbecSDK_ROS2
OrbbecSDK_ROS2 copied to clipboard
Point Cloud Size Mismatch with Expected Dimensions
I am trying to use the /camera/registered_depth/points topic to obtain the exact 3D coordinates for specific RGB pixels. I’m using the Orbbec 336L camera with a resolution of 1280x720, and I would expect the point cloud to have the same resolution, with NaN values for depths that weren't measured.
However, I am receiving PointCloud2 messages where the width is reported as 540072 (which seems to vary) and the height is 1.
Is this behavior expected, or is it an error? If this is not an error, how can I match a specific RGB pixel with its corresponding point in the point cloud?
Thank you for your help!