The meaning of the flag field in the sensor_format_t for data of type SENSOR_FORMAT_LIDAR_POINT_CLOUD
#include <sensor/sensor_api.h>
typedef enum { FLAG_LPC_REFLECTIVITY = 1, FLAG_LPC_LASER_ID = 2, FLAG_LPC_FLAG = 4, FLAG_LPC_X_COORD = 8, FLAG_LPC_Y_COORD = 0x10, FLAG_LPC_Z_COORD = 0x20 } sensor_flag_lidar_point_cloud_t;
It indicates which fields of the sensor_lidar_point_cloud_t are present for this buffer.