Radar track history table.
uint32_t currentTimeIdx
actual number of tracked objects
dwRadarTrack * data
the timestamp of each frame in the history, its size is historyCapacity
NVIDIA DriveWorks API: Core Methods
uint32_t objectCount
capacity of history circular buffer
dwTime_t * timestamps
the age of each tracked object, its size is maxObjectCount
DW_API_PUBLIC dwStatus dwRadarTrackHistory_initialize(dwRadarTrackHistoryHandle_t *obj, uint32_t maxObjectCount, uint32_t historyCapacity, dwContextHandle_t ctx)
Creates and initialize a radar track history.
DW_API_PUBLIC dwStatus dwRadarTrackHistory_addTracks(const dwRadarTrack radarTracks[], uint32_t radarTracksCount, dwTime_t timestamp, dwRadarTrackHistoryHandle_t obj)
Add list of radar tracks into radar track history.
uint32_t * ages
the column index of current time in the table
struct dwRadarTrackHistoryObject * dwRadarTrackHistoryHandle_t
struct dwContextObject * dwContextHandle_t
Context handle.
DW_API_PUBLIC dwStatus dwRadarTrackHistory_release(dwRadarTrackHistoryHandle_t *obj)
Releases the radar track history.
DW_API_PUBLIC dwStatus dwRadarTrackHistory_getRadarTrackHistory(dwRadarTrackHistory *radarTrackHistory, dwRadarTrackHistoryHandle_t obj)
Get radar track history.
uint32_t historyCapacity
the maximum number of tracked objects