sensor_flag_lidar_polar_t

Updated: April 19, 2023

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

Synopsis:

#include <sensor/sensor_lidar.h>
typedef enum {
    FLAG_LP_REFLECTIVITY = 1,
    FLAG_LP_LASER_ID = 2,
    FLAG_LP_FLAG = 4,
    FLAG_LP_AZIMUTH = 8,
    FLAG_LP_ELEVATION = 0x10,
    FLAG_LP_DISTANCE = 0x20
} sensor_flag_lidar_polar_t;

Data:

FLAG_LP_REFLECTIVITY
The reflectivity field is present.
FLAG_LP_LASER_ID
The laserId field is present.
FLAG_LP_FLAG
The flag field is present.
FLAG_LP_AZIMUTH
The azimuth field is present.
FLAG_LP_ELEVATION
The elevation field is present.
FLAG_LP_DISTANCE
The distance 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_polar_t structure that are defined for this buffer.