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

change:

#include <image_transport/image_transport.h>

to

#include <sensor_msgs/image.h>

and also change :

void imageCb(const sensor_msgs::ImageConstPtr& msg)

to:

void imageCb(const sensor_msgs::Image &msg)

in example code change:

#include <image_transport/image_transport.h>

to

#include <sensor_msgs/image.h>

and also change :

void imageCb(const sensor_msgs::ImageConstPtr& msg)

to:

void imageCb(const sensor_msgs::Image &msg)

in example code change:

#include <image_transport/image_transport.h>

to

#include <sensor_msgs/image.h>

and also change :

void imageCb(const sensor_msgs::ImageConstPtr& msg)

to:

void imageCb(const sensor_msgs::Image &msg)