DriveWorks SDK Reference
5.4.5418 Release
For Test and Development only

RadarPlugin.h
Go to the documentation of this file.
1 //
3 // Notice
4 // ALL NVIDIA DESIGN SPECIFICATIONS AND CODE ("MATERIALS") ARE PROVIDED "AS IS" NVIDIA MAKES
5 // NO REPRESENTATIONS, WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
6 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ANY IMPLIED WARRANTIES OF NONINFRINGEMENT,
7 // MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
8 //
9 // NVIDIA CORPORATION & AFFILIATES assumes no responsibility for the consequences of use of such
10 // information or for any infringement of patents or other rights of third parties that may
11 // result from its use. No license is granted by implication or otherwise under any patent
12 // or patent rights of NVIDIA CORPORATION & AFFILIATES. No third party distribution is allowed unless
13 // expressly authorized by NVIDIA. Details are subject to change without notice.
14 // This code supersedes and replaces all information previously supplied.
15 // NVIDIA CORPORATION & AFFILIATES products are not authorized for use as critical
16 // components in life support devices or systems without express written approval of
17 // NVIDIA CORPORATION & AFFILIATES.
18 //
19 // SPDX-FileCopyrightText: Copyright (c) 2019-2021 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
20 // SPDX-License-Identifier: LicenseRef-NvidiaProprietary
21 //
22 // NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
23 // property and proprietary rights in and to this material, related
24 // documentation and any modifications thereto. Any use, reproduction,
25 // disclosure or distribution of this material and related documentation
26 // without an express license agreement from NVIDIA CORPORATION or
27 // its affiliates is 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 
52 #ifdef __cplusplus
53 extern "C" {
54 #endif
55 
57 typedef struct
58 {
61 
64 
66  size_t maxPointsPerPacket[DW_RADAR_RETURN_TYPE_COUNT][DW_RADAR_RANGE_COUNT];
67 
70 
73 
77 
97 
109 
123 typedef dwStatus (*dwSensorRadarPlugin_validatePacket)(const char* rawData, size_t size, dwRadarScanType* messageType,
125 
138 
143 typedef struct
144 {
151 
162 
165 #ifdef __cplusplus
166 }
167 #endif
168 
169 #endif
size_t maxPayloadSize
Packet max payload size, in bytes.
Definition: RadarPlugin.h:63
Defines the structure for a complete radar scan.
Definition: Radar.h:220
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:95
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:143
dwStatus(* dwSensorRadarPlugin_validatePacket)(const char *rawData, size_t size, dwRadarScanType *messageType, dwSensorPluginSensorHandle_t sensor)
Validates the raw data packet.
Definition: RadarPlugin.h:123
dwSensorCommonPluginFunctions common
Definition: RadarPlugin.h:145
dwStatus(* dwSensorRadarPlugin_getDecoderConstants)(_dwSensorRadarDecoder_constants *constants, dwSensorPluginSensorHandle_t sensor)
Gets constants associated with this radar sensor.
Definition: RadarPlugin.h:108
dwStatus
Status definition.
Definition: Status.h:180
Defines the type of scan (combination of return type & range)
Definition: Radar.h:113
Function Table exposing common plugin functions.
Defines the properties of the radar.
Definition: Radar.h:330
dwSensorRadarPlugin_getDecoderConstants getDecoderConstants
Definition: RadarPlugin.h:147
dwStatus(* dwSensorRadarPlugin_setVehicleState)(const dwRadarVehicleState *state, dwSensorPluginSensorHandle_t sensor)
Sends vehicle dynamics information to the radar.
Definition: RadarPlugin.h:137
size_t maxPacketsPerScan
Maximum packets per scan.
Definition: RadarPlugin.h:69
dwSensorRadarPlugin_validatePacket validatePacket
Definition: RadarPlugin.h:148
dwSensorRadarPlugin_parseDataBuffer parseDataBuffer
Definition: RadarPlugin.h:146
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:149
Defines the structure for reporting current vehicle dynamics state.
Definition: Radar.h:295
size_t dynamicsSizeInBytes
Dynamics Size, in bytes.
Definition: RadarPlugin.h:75
dwRadarProperties properties
Radar properties.
Definition: RadarPlugin.h:60
Holds constants for a given radar.
Definition: RadarPlugin.h:57