ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Your callback could look like:
void streamCallback(vision_ros::img_msg)
{
cv::Mat cv_frame = cv_bridge::toCvCopy( imsg.frame, "mono8" /* or other encoding */ )->image;
}