sensor_flag_lidar_spherical_t

Updated: April 19, 2023

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

Synopsis:

#include <sensor/sensor_lidar.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
The reflectivity field is present.
FLAG_LS_LASER_ID
The laserId field is present.
FLAG_LS_FLAG
The flag field is present.
FLAG_LS_THETA
The theta field is present.
FLAG_LS_PHI
The phi field is present.
FLAG_LS_RHO
The rho 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_spherical_t structure that are defined for this buffer.