sensor_flag_lidar_spherical_t

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

Synopsis:

#include <sensor/sensor_api.h>
typedef enum {
    FLAG_LS_REFLECTIVITY = 1,
    FLAG_LS_LASER_ID = 2,
    FLAG_LS_FLAG = 4,
    FLAG_LS_THETA = 8,
    FLAG_LS_PHI = 0x10,
    FLAG_LS_RHO = 0x20
} sensor_flag_lidar_spherical_t;

Data:

FLAG_LS_REFLECTIVITY
If bit is set, the reflectivity field is present.
FLAG_LS_LASER_ID
If bit is set, the laserId field is present.
FLAG_LS_FLAG
If bit is set, the flag field is present.
FLAG_LS_THETA
If bit is set, the theta field is present.
FLAG_LS_PHI
If bit is set, the phi field is present.
FLAG_LS_RHO
If bit is set, the rho field is present.

Library:

libsensor

Description:

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