The following flags indicate information about the tracked object
#include <sensor/sensor_api.h>
typedef enum { RADAR_FLAG_NEW_TRACK = 0x0001, RADAR_FLAG_MERGED_TRACK = 0x0002, RADAR_FLAG_COASTED_TRACK = 0x0004, RADAR_FLAG_MEDIUM_RANGE = 0x0008, RADAR_FLAG_LONG_RANGE = 0x0010, RADAR_FLAG_BRIDGE = 0x0020, RADAR_FLAG_ONCOMING = 0x0040, RADAR_FLAG_GROUPING_CHANGE = 0x0080, RADAR_FLAG_DETECT_STATUS = 0x1000 } sensor_radar_track_flags_t;
The bit is set when the tracked object is a new object; otherwise the bit isn't set to indicate that it's an existing tracked object.
The bit is set to indicate that the tracked object has been merged with another tracked object; otherwise the bit isn't set. A tracked merged object is the result of merging existing tracked objects.
The bit is set to indicate a coasted track; otherwise the bit isn't set. A coasted track is a tracked ojbect not detected currently, but preserved from previous tracks.
The bit is set to indicate the information for the tracked object was detected by medium range radar.
The bit is set to indicated that the tracked object was detected by long range radar; otherwise the bit isn' set.
The bit is set when the tracked object is recognized as a bridge; otherwise the bit isn't set.
The bit is set when the tracked object is recognized as an oncoming object that's approaching the sensor; otherwise the bit isn't set.
The bit is set when the number of detections associated with the track has changed; otherwise the bit isn't.
The bit is set when the detection has valid measurement data; otherwise the bit isn't set.
The bits for each flag are set accordingly to provide information about the tracked object.