sensor_radar_track_spherical_t

Data payload format of type SENSOR_FORMAT_RADAR_SPHERICAL

Synopsis:

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

Data:

uint32_t time_offset
Offset from the timestamp in sensor_buffer_t to apply for this object.
int32_t speed
Speed of the object, in millimeters per second.
uint16_t track_id
The track identifier associated with this object.
uint16_t theta
Angle in hundredths of degrees measured downwards from Z axis.

In range [0, 18000).

uint16_t phi
Angle in hundredths of degrees measured counter clockwise from X axis (Y axis is forwards with respect to the sensor).

In range [0, 36000).

uint32_t rho
The radial distance in millimetres (mm) to the data point.
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.