DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

RadarPlugin.h
Go to the documentation of this file.
1 // This code contains NVIDIA Confidential Information and is disclosed
3 // under the Mutual Non-Disclosure Agreement.
4 //
5 // Notice
6 // ALL NVIDIA DESIGN SPECIFICATIONS AND CODE ("MATERIALS") ARE PROVIDED "AS IS" NVIDIA MAKES
7 // NO REPRESENTATIONS, WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
8 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ANY IMPLIED WARRANTIES OF NONINFRINGEMENT,
9 // MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
10 //
11 // NVIDIA Corporation assumes no responsibility for the consequences of use of such
12 // information or for any infringement of patents or other rights of third parties that may
13 // result from its use. No license is granted by implication or otherwise under any patent
14 // or patent rights of NVIDIA Corporation. No third party distribution is allowed unless
15 // expressly authorized by NVIDIA. Details are subject to change without notice.
16 // This code supersedes and replaces all information previously supplied.
17 // NVIDIA Corporation products are not authorized for use as critical
18 // components in life support devices or systems without express written approval of
19 // NVIDIA Corporation.
20 //
21 // Copyright (c) 2019-2020 NVIDIA Corporation. All rights reserved.
22 //
23 // NVIDIA Corporation and its licensors retain all intellectual property and proprietary
24 // rights in and to this software and related documentation and any modifications thereto.
25 // Any use, reproduction, disclosure or distribution of this software and related
26 // documentation without an express license agreement from NVIDIA Corporation is
27 // strictly prohibited.
28 //
30 
38 #ifndef DW_SENSORS_RADAR_PLUGIN_H
39 #define DW_SENSORS_RADAR_PLUGIN_H
40 
42 #include <dw/sensors/radar/Radar.h>
43 
54 #ifdef __cplusplus
55 extern "C" {
56 #endif
57 
59 typedef struct
60 {
63 
66 
68  size_t maxPointsPerPacket[DW_RADAR_RETURN_TYPE_COUNT][DW_RADAR_RANGE_COUNT];
69 
72 
75 
79 
98 
110 
124 typedef dwStatus (*dwSensorRadarPlugin_validatePacket)(const char* rawData, size_t size, dwRadarScanType* messageType,
126 
139 
144 typedef struct
145 {
152 
163 
166 #ifdef __cplusplus
167 }
168 #endif
169 
170 #endif
size_t maxPayloadSize
Packet max payload size, in bytes.
Definition: RadarPlugin.h:65
Defines the structure for a complete radar scan.
Definition: Radar.h:231
void * dwSensorPluginSensorHandle_t
dwStatus(* dwSensorRadarPlugin_parseDataBuffer)(dwRadarScan *output, const dwRadarScanType scanType, dwSensorPluginSensorHandle_t sensor)
Processes the data previously passed via the &#39;dwSensorPlugin_pushData&#39; interface. ...
Definition: RadarPlugin.h:96
NVIDIA DriveWorks API: Radar
NVIDIA DriveWorks: Common Sensor Plugin Interface
Holds the list of exported functions implemented by the vendor-provided library.
Definition: RadarPlugin.h:144
dwStatus(* dwSensorRadarPlugin_validatePacket)(const char *rawData, size_t size, dwRadarScanType *messageType, dwSensorPluginSensorHandle_t sensor)
Validates the raw data packet.
Definition: RadarPlugin.h:124
dwSensorCommonPluginFunctions common
Definition: RadarPlugin.h:146
dwStatus(* dwSensorRadarPlugin_getDecoderConstants)(_dwSensorRadarDecoder_constants *constants, dwSensorPluginSensorHandle_t sensor)
Gets constants associated with this radar sensor.
Definition: RadarPlugin.h:109
dwStatus
Status definition.
Definition: Status.h:178
Defines the type of scan (combination of return type & range)
Definition: Radar.h:112
Function Table exposing common plugin functions.
Defines the properties of the radar.
Definition: Radar.h:341
dwSensorRadarPlugin_getDecoderConstants getDecoderConstants
Definition: RadarPlugin.h:148
dwStatus(* dwSensorRadarPlugin_setVehicleState)(const dwRadarVehicleState *state, dwSensorPluginSensorHandle_t sensor)
Sends vehicle dynamics information to the radar.
Definition: RadarPlugin.h:138
size_t maxPacketsPerScan
Maximum packets per scan.
Definition: RadarPlugin.h:71
dwSensorRadarPlugin_validatePacket validatePacket
Definition: RadarPlugin.h:149
dwSensorRadarPlugin_parseDataBuffer parseDataBuffer
Definition: RadarPlugin.h:147
dwStatus dwSensorRadarPlugin_getFunctionTable(dwSensorRadarPluginFunctionTable *functions)
Returns the table of functions that are provided by the vendor-provided library for the sensor...
dwSensorRadarPlugin_setVehicleState setVehicleState
Definition: RadarPlugin.h:150
Defines the structure for reporting current vehicle dynamics state.
Definition: Radar.h:306
size_t dynamicsSizeInBytes
Dynamics Size, in bytes.
Definition: RadarPlugin.h:77
dwRadarProperties properties
Radar properties.
Definition: RadarPlugin.h:62
Holds constants for a given radar.
Definition: RadarPlugin.h:59