sensor_flag_radar_track_polar_t

Updated: April 19, 2023

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

Synopsis:

#include <sensor/sensor_radar.h>
typedef enum {
    FLAG_RTP_DISTANCE = 1,
    FLAG_RTP_SPEED = 2,
    FLAG_RTP_TRACK_ID = 4,
    FLAG_RTP_AZIMUTH = 8,
    FLAG_RTP_FLAGS = 0x10,
    FLAG_RTP_ACCELERATION = 0x20,
    FLAG_RTP_WIDTH = 0x40,
    FLAG_RTP_LATERAL_SPEED = 0x80,
    FLAG_RTP_VALIDITY_LEVEL = 0x100
} sensor_flag_radar_track_polar_t;

Data:

FLAG_RTP_DISTANCE
The distance field is present.
FLAG_RTP_SPEED
The speed field is present.
FLAG_RTP_TRACK_ID
The track_id field is present.
FLAG_RTP_AZIMUTH
The azimuth field is present.
FLAG_RTP_FLAGS
The flags field is present.
FLAG_RTP_ACCELERATION
The acceleration field is present.
FLAG_RTP_WIDTH
The width field is present.
FLAG_RTP_LATERAL_SPEED
The lateral_speed field is present.
FLAG_RTP_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_polar_t structure that are defined for this buffer.