sensor_flag_radar_track_spherical_t

Updated: April 19, 2023

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

Synopsis:

#include <sensor/sensor_radar.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
The speed field is present.
FLAG_RTS_TRACK_ID
The track_id field is present.
FLAG_RTS_THETA
The theta field is present.
FLAG_RTS_PHI
The phi field is present.
FLAG_RTS_RHO
The rho field is present.
FLAG_RTS_FLAGS
The flags field is present.
FLAG_RTS_ACCELERATION
The acceleration field is present.
FLAG_RTS_WIDTH
The width field is present.
FLAG_RTS_LATERAL_SPEED
The lateral_speed field is present.
FLAG_RTS_VALIDITY_LEVEL
The validity_level field is present.

Library:

libsensor

Description:

This enumeration represents bits in the flag field that when set, indicate the data fields in the sensor_radar_track_spherical_t structure that are defined for this buffer.