ROS message class definition for Image. More...
#include <sensor_msgs/msg/image.hpp>
Public Attributes | |
std_msgs::msg::Header | header |
Header timestamp should be acquisition time of image. | |
uint32_t | height |
image height, that is, number of rows | |
uint32_t | width |
image width, that is, number of columns | |
std::string | encoding |
Encoding of pixels – channel meaning, ordering, size. | |
uint8_t | is_bigendian |
is this data bigendian? | |
uint32_t | step |
Full row length in bytes. | |
std::vector< uint8_t > | data |
actual matrix data, size is (step * rows) | |
ROS message class definition for Image.
This message contains an uncompressed image (0, 0) is at top-left corner of image