ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 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.

  • Take a look at the tutorials if you want to learn how to use the image_transport::Subscriber http://wiki.ros.org/image_transport