sensor_radar_track_polar_t

Data payload format of type SENSOR_FORMAT_RADAR_POLAR

Synopsis:

#include <sensor/sensor_api.h>
typedef struct sensor_radar_track_polar_t {
    uint32_t time_offset;
    uint32_t distance;
    int32_t speed;
    uint16_t track_id;
    int16_t azimuth;
    uint32_t flags;
    int32_t acceleration;
    uint16_t width;
    int16_t lateral_speed;
    uint8_t validity_level;
    uint8_t reserved[3];
} sensor_radar_track_polar_t;

Data:

uint32_t time_offset
Offset from the timestamp in sensor_buffer_t to apply for this object.
uint32_t distance
Distance to the object from the sensor, in millimeters.
int32_t speed
Speed of the object, in millimeters per second.
uint16_t track_id
The track identifier associated with this object.
int16_t azimuth
Azimuth angle in hundredth of degrees with -/+18000 range centered on forward axis of sensor.

Positive angle is clockwise.

uint32_t flags
Flags bit field using sensor_radar_track_flags_t structure.
int32_t acceleration
Acceleration of the object, in millimeters per second squared.
uint16_t width
The width of the object, in millimeters.
int16_t lateral_speed
Lateral speed in millimeters per second.
uint8_t validity_level
The validity level of the target, which is represented as a percentage value (0-100), with 100 being the highest validity.

The higher validity level indicates more confidence in the measurement.

uint8_t reserved[3]
Reserved for future use.

Do not use.

Library:

libsensor

Description:

The payload in data of sensor_buffer_t is an array of these objects.