sensor_flag_lidar_point_cloud_t

Updated: April 19, 2023

Bit settings for the sensor_buffer_t flag field for data of type SENSOR_FORMAT_LIDAR_POINT_CLOUD

Synopsis:

#include <sensor/sensor_lidar.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;

Data:

FLAG_LPC_REFLECTIVITY
The reflectivity field is present.
FLAG_LPC_LASER_ID
The laserId field is present.
FLAG_LPC_FLAG
The flag field is present.
FLAG_LPC_X_COORD
The xCoord field is present.
FLAG_LPC_Y_COORD
The yCoord field is present.
FLAG_LPC_Z_COORD
The zCoord field is present.

Library:

libsensor

Description:

This enumeration represents bits in the flag field that when set, indicate the data fields in the sensor_lidar_point_cloud_t structure that are defined for this buffer.