Public Member Functions | |
| ImageTransportImage () | |
| Empty constructor. More... | |
| ImageTransportImage (const sensor_msgs::Image &image, const uint8_t *data) | |
| Constructor. More... | |
Public Attributes | |
| const uint8_t * | data_ |
| Image data for use with OpenCV. More... | |
| sensor_msgs::Image | image_ |
| ROS header. More... | |
The code in the following namespace copies a lof of code from cv_bridge It does not depend on cv_bridge to not depend on OpenCV It re-defines a CvImage so that we can publish that object and not a sensor_msgs::Image, which requires a memory copy
Definition at line 45 of file raw_publisher.cpp.
|
inline |
Empty constructor.
Definition at line 54 of file raw_publisher.cpp.
|
inline |
Constructor.
Definition at line 59 of file raw_publisher.cpp.
| const uint8_t* ImageTransportImage::data_ |
Image data for use with OpenCV.
Definition at line 49 of file raw_publisher.cpp.
| sensor_msgs::Image ImageTransportImage::image_ |
ROS header.
Definition at line 48 of file raw_publisher.cpp.