sensor_flag_radar_track_spherical_t

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

Synopsis:

#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;

Data:

FLAG_RTS_SPEED
If bit is set, the speed field is present.
FLAG_RTS_TRACK_ID
If bit is set, the track_id field is present.
FLAG_RTS_THETA
If bit is set, the theta field is present.
FLAG_RTS_PHI
If bit is set, the phi field is present.
FLAG_RTS_RHO
If bit is set, the rho field is present.
FLAG_RTS_FLAGS
If bit is set, the flags field is present.
FLAG_RTS_ACCELERATION
If bit is set, the acceleration field is present.
FLAG_RTS_WIDTH
If bit is set, the width field is present.
FLAG_RTS_LATERAL_SPEED
If bit is set, the lateral_speed field is present.
FLAG_RTS_VALIDITY_LEVEL
If bit is set, the validity_level field is present.

Library:

libsensor

Description:

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