ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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)
2 | No.2 Revision |
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)
3 | No.3 Revision |
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)