ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Try construction your listener with the extra argument specifying the transport hint:
mage_sub_ = it_.subscribe("/camera/image", 1, &ImageConverter::imageCb, this, image_transport::TransportHint("compressed"));
2 | No.2 Revision |
Try construction your listener with the extra argument specifying the transport hint:
mage_sub_ = it_.subscribe("/camera/image", 1, &ImageConverter::imageCb, this,image_transport::TransportHint("compressed"));image_transport::TransportHints("compressed"));
3 | No.3 Revision |
Try construction constructing your listener with the extra argument specifying the transport hint:
mage_sub_ = it_.subscribe("/camera/image", 1, &ImageConverter::imageCb, this, image_transport::TransportHints("compressed"));
4 | No.4 Revision |
Try constructing your listener with the extra argument specifying the transport hint:
mage_sub_image_sub_
= it_.subscribe("/camera/image", 1, &ImageConverter::imageCb, this,image_transport::TransportHints("compressed"));image_transport::TransportHints("compressed"));