DriveWorks SDK Reference
4.0.0 Release
For Test and Development only

RadarDecoder.h File Reference

Detailed Description

NVIDIA DriveWorks: Radar Decoder Plugin Interface

Description: This file defines the Radar decoder plugin interface layer.

Definition in file RadarDecoder.h.

Go to the source code of this file.

Data Structures

struct  _dwRadarDecoder_constants
 Holds constants for a given radar. More...
 

Functions

dwStatus _dwRadarDecoder_decodePacket (dwRadarScan *output, const uint8_t *buffer, const size_t length, const dwRadarScanType scanType)
 Decodes a packet from the radar, given a raw byte array and a specified decoding format. More...
 
dwStatus _dwRadarDecoder_encodeMountPosition (uint8_t *buffer, const size_t maxOutputSize, const dwRadarMountPosition *packet)
 Encodes data from a /ref dwRadarMountPosition into a raw byte array. More...
 
dwStatus _dwRadarDecoder_encodeVehicleState (uint8_t *buffer, const size_t maxOutputSize, const dwRadarVehicleState *packet)
 Encodes data from a /ref dwRadarVehicleState into a raw byte array. More...
 
dwStatus _dwRadarDecoder_getConstants (_dwRadarDecoder_constants *constants)
 Gets constants associated with this radar sensor. More...
 
dwStatus _dwRadarDecoder_initialize ()
 Initializes the radar decoder. More...
 
bool _dwRadarDecoder_isScanComplete (dwRadarScanType scanType, const uint8_t **buffer, size_t *length, size_t numPackets)
 Returns the status of the scan. More...
 
dwStatus _dwRadarDecoder_release ()
 Releases the radar decoder. More...
 
dwStatus _dwRadarDecoder_synchronize (const uint8_t *buffer, const size_t length, size_t *remaining)
 Determines whether a byte array of packet data has a valid radar signature. More...
 
dwStatus _dwRadarDecoder_validatePacket (const uint8_t *buffer, const size_t length, dwRadarScanType *scanType)
 Determines whether a byte array of packet data is valid. More...