ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
![]() | 1 | initial version |
I've been using this formula and it works alright
cv_bridge::CvImageConstPtr cv_ptr
float pixel_depth = static_cast<float>(cv_ptr->image.at<unsigned short>(x, y));