ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
ros::Subscriber
is a generic subscriber class that can subscribe to any topic.image_transport::Subscriber
is a specialized subscriber that can only subscribe to image topics, it is provided for ease of use with the image_transport
package.You use them for different purposes.
image_transport::Subscriber
http://wiki.ros.org/image_transport