#ifndef C_API_SENSOR_MSGS_POINTCLOUD2_H
#define C_API_SENSOR_MSGS_POINTCLOUD2_H

#ifdef __cplusplus
extern "C" {
#endif

#include <stdbool.h>
#include <stdint.h>
#include <stddef.h>
#include "std_msgs/Header.h"
#include "sensor_msgs/PointField.h"

typedef struct
{
  Header header;
  uint32_t height;
  uint32_t width;
  PointField *fields;
  size_t fields_count;
  bool is_bigendian;
  uint32_t point_step;
  uint32_t row_step;
  uint8_t *data;
  size_t data_count;
  bool is_dense;
} PointCloud2;

#ifdef __cplusplus
}
#endif

#endif // C_API_SENSOR_MSGS_POINTCLOUD2_H
