Updated: October 28, 2024 |
Lidar point properties
#include <sensor/sensor_lidar.h>
typedef enum { VL_SECONDARY_RETURN = 1, VL_INVALID_RETURN = 2, VL_CORRECTED_POINT = 4 } sensor_lidar_flag_t;
When this bit isn't set, the point represents a primary return data from the lidar system.
When this bit isn't set, the data read is a valid return value from the lidar system.
When this bit isn't set, it's possible that not all calibration data has been received from the sensor when in the instream correction mode, and correction will begin when all of the data is received.
These flags represent bits that can be set or not set in the sensor_lidar_polar_t flag field, to indicate the properties of the received lidar point.