The meaning of the flag field in the sensor_format_t for data of type SENSOR_FORMAT_RADAR_SPHERICAL
#include <sensor/sensor_api.h>
typedef enum {
FLAG_RTS_SPEED = 1,
FLAG_RTS_TRACK_ID = 2,
FLAG_RTS_THETA = 4,
FLAG_RTS_PHI = 8,
FLAG_RTS_RHO = 0x10,
FLAG_RTS_FLAGS = 0x20,
FLAG_RTS_ACCELERATION = 0x40,
FLAG_RTS_WIDTH = 0x80,
FLAG_RTS_LATERAL_SPEED = 0x100,
FLAG_RTS_VALIDITY_LEVEL = 0x200
} sensor_flag_radar_track_spherical_t;
It indicates which fields of the sensor_radar_track_spherical_t are present for this buffer.