• <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>

  • DriveWorks SDK Reference
    5.6.215 Release
    For Test and Development only

    All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
    Radar.h File Reference

    Detailed Description

    NVIDIA DriveWorks API: Radar

    Description: This file defines the Radar sensor.

    Definition in file Radar.h.

    Go to the source code of this file.

    Data Structures

    struct  dwRadarDetection
     The structs below are serialized in binary and the layout is assummed to be packed. More...
     
    struct  dwRadarMountPosition
     Defines the structure for reporting sensor mount position. More...
     
    struct  dwRadarProperties
     Defines the properties of the radar. More...
     
    struct  dwRadarScan
     Defines the structure for a complete radar scan. More...
     
    struct  dwRadarScanType
     Defines the type of scan (combination of return type & range) More...
     
    struct  dwRadarStatus
     Defines the return structure for sensor status messages. More...
     
    struct  dwRadarTrack
     
    struct  dwRadarVehicleState
     Defines the structure for reporting current vehicle dynamics state. More...
     

    Macros

    #define DW_RADARSCAN_MINIMUM_PAYLOAD_SIZE   1744
     The minimum payload size is larger than sizeof(dwRadarScan) to allow custom types to use a larger payload. More...
     

    Enumerations

    enum  dwRadarDynamicState {
      DW_RADAR_DYNAMIC_STATE_MOVING = 0 ,
      DW_RADAR_DYNAMIC_STATE_STATIONARY = 1 ,
      DW_RADAR_DYNAMIC_STATE_ONCOMING = 2 ,
      DW_RADAR_DYNAMIC_STATE_CROSS_TRAFFIC = 3 ,
      DW_RADAR_DYNAMIC_STATE_STOPPED = 4 ,
      DW_RADAR_DYNAMIC_STATE_UNKNOWN = 5
    }
     Defines the dynamic state of the radar return. More...
     
    enum  dwRadarRange {
      DW_RADAR_RANGE_SHORT = 0 ,
      DW_RADAR_RANGE_MEDIUM = 1 ,
      DW_RADAR_RANGE_LONG = 2 ,
      DW_RADAR_RANGE_UNKNOWN = 3 ,
      DW_RADAR_RANGE_COUNT = 4
    }
     Defines the range of radar return. More...
     
    enum  dwRadarReturnType {
      DW_RADAR_RETURN_TYPE_DETECTION = 0 ,
      DW_RADAR_RETURN_TYPE_TRACK = 1 ,
      DW_RADAR_RETURN_TYPE_STATUS = 2 ,
      DW_RADAR_RETURN_TYPE_COUNT = 3
    }
     Defines the type of radar return. More...
     

    Functions

    DW_API_PUBLIC dwStatus dwSensorRadar_getProperties (dwRadarProperties *const radarProperties, dwSensorHandle_t const sensor)
     Gets information about the Radar sensor. More...
     
    DW_API_PUBLIC dwStatus dwSensorRadar_processRawData (const dwRadarScan **const data, const uint8_t *const rawData, size_t const size, dwSensorHandle_t const sensor)
     Decodes RAW data previously read onto the application side structure. More...
     
    DW_API_PUBLIC dwStatus dwSensorRadar_readData (const dwRadarScan **const data, const dwRadarScanType type, const dwTime_t timeoutUs, dwSensorHandle_t const sensor)
     Reads a single packet, which might be an entire scan or a fraction of a scan, which is sensor dependent. More...
     
    DW_API_PUBLIC dwStatus dwSensorRadar_readScan (const dwRadarScan **const data, const dwTime_t timeoutUs, dwSensorHandle_t const sensor)
     Reads a one scan chunk. More...
     
    DW_API_PUBLIC dwStatus dwSensorRadar_returnData (const dwRadarScan *const scan, dwSensorHandle_t const sensor)
     Returns the data read to the internal pool. More...
     
    DW_API_PUBLIC dwStatus dwSensorRadar_returnScan (const dwRadarScan *const scan, dwSensorHandle_t const sensor)
     Returns the data covering an entire scan read to the internal pool. More...
     
    DW_API_PUBLIC dwStatus dwSensorRadar_setDataDecoding (bool const enable, dwSensorHandle_t const sensor)
     Enables/disables the decoding of the Radar packets, which incurs in additional CPU load. More...
     
    DW_API_PUBLIC dwStatus dwSensorRadar_setMountPosition (dwRadarMountPosition *const data, dwSensorHandle_t const sensor)
     Sends the radar mount position information to the radar. More...
     
    DW_API_PUBLIC dwStatus dwSensorRadar_setVehicleState (dwRadarVehicleState *const data, dwSensorHandle_t const sensor)
     Sends vehicle dynamics information to the radar. More...
     
    DW_API_PUBLIC dwStatus dwSensorRadar_toggleScanType (bool const enable, dwRadarScanType const scanType, dwSensorHandle_t const sensor)
     Enables/Disables a scan type for the radar sensor. More...
     
    人人超碰97caoporen国产