sensor_flag_lidar_polar_t

The meaning of the flag field in the sensor_format_t for data of type SENSOR_FORMAT_LIDAR_POLAR

Synopsis:

#include <sensor/sensor_api.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
If bit is set, the reflectivity field is present.
FLAG_LP_LASER_ID
If bit is set, the laserId field is present.
FLAG_LP_FLAG
If bit is set, the flag field is present.
FLAG_LP_AZIMUTH
If bit is set, the azimuth field is present.
FLAG_LP_ELEVATION
If bit is set, the elevation field is present.
FLAG_LP_DISTANCE
If bit is set, the distance field is present.

Library:

libsensor

Description:

It indicates which fields of the sensor_lidar_polar_t are present for this buffer.