NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
RadarPlugin.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2019-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
20 #ifndef DW_SENSORS_RADAR_PLUGIN_H
21 #define DW_SENSORS_RADAR_PLUGIN_H
22 
25 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
39 typedef struct
40 {
43 
46 
48  size_t maxPointsPerPacket[DW_RADAR_RETURN_TYPE_COUNT][DW_RADAR_RANGE_COUNT];
49 
52 
55 
59 
80 
92 
106 typedef dwStatus (*dwSensorRadarPlugin_validatePacket)(const char* rawData, size_t size, dwRadarScanType* messageType,
108 
121 
126 typedef struct
127 {
134 
149 
152 #ifdef __cplusplus
153 }
154 #endif
155 
156 #endif
dwSensorRadarPluginFunctionTable::getDecoderConstants
dwSensorRadarPlugin_getDecoderConstants getDecoderConstants
Definition: RadarPlugin.h:130
dwSensorRadarPluginFunctionTable::parseDataBuffer
dwSensorRadarPlugin_parseDataBuffer parseDataBuffer
Definition: RadarPlugin.h:129
dwRadarScanType
Defines the type of scan (combination of return type & range)
Definition: RadarTypes.h:213
dwSensorRadarPluginFunctionTable::setVehicleState
dwSensorRadarPlugin_setVehicleState setVehicleState
Definition: RadarPlugin.h:132
dwRadarProperties
Defines the properties of the radar.
Definition: RadarTypes.h:448
DW_RADAR_RETURN_TYPE_COUNT
@ DW_RADAR_RETURN_TYPE_COUNT
Count.
Definition: RadarTypes.h:104
dwSensorRadarPluginFunctionTable::common
dwSensorCommonPluginFunctions common
Definition: RadarPlugin.h:128
dwSensorPluginSensorHandle_t
void * dwSensorPluginSensorHandle_t
Plugin handle. Used in plugin public interfaces.
Definition: SensorPlugin.h:42
sensor
const dwSensorHandle_t sensor
Definition: Camera.h:848
dwSensorRadarPlugin_getDecoderConstants
dwStatus(* dwSensorRadarPlugin_getDecoderConstants)(_dwSensorRadarDecoder_constants *constants, dwSensorPluginSensorHandle_t sensor)
Gets constants associated with this radar sensor.
Definition: RadarPlugin.h:91
dwSensorRadarPlugin_getFunctionTable
dwStatus dwSensorRadarPlugin_getFunctionTable(dwSensorRadarPluginFunctionTable *functions)
Returns the table of functions that are provided by the vendor-provided library for the sensor.
_dwSensorRadarDecoder_constants
Holds constants for a given radar.
Definition: RadarPlugin.h:39
dwSensorRadarPlugin_validatePacket
dwStatus(* dwSensorRadarPlugin_validatePacket)(const char *rawData, size_t size, dwRadarScanType *messageType, dwSensorPluginSensorHandle_t sensor)
Validates the raw data packet.
Definition: RadarPlugin.h:106
dwSensorRadarPluginFunctionTable::validatePacket
dwSensorRadarPlugin_validatePacket validatePacket
Definition: RadarPlugin.h:131
dwRadarScan
Defines the structure for a complete radar scan.
Definition: RadarFullTypes.h:44
_dwSensorRadarDecoder_constants::maxPayloadSize
size_t maxPayloadSize
Packet max payload size, in bytes.
Definition: RadarPlugin.h:45
dwSensorRadarPlugin_parseDataBuffer
dwStatus(* dwSensorRadarPlugin_parseDataBuffer)(dwRadarScan *output, const dwRadarScanType scanType, dwSensorPluginSensorHandle_t sensor)
Processes the data previously passed via the 'dwSensorPlugin_pushData' interface.
Definition: RadarPlugin.h:78
dwSensorRadarPlugin_setVehicleState
dwStatus(* dwSensorRadarPlugin_setVehicleState)(const dwRadarVehicleState *state, dwSensorPluginSensorHandle_t sensor)
Sends vehicle dynamics information to the radar.
Definition: RadarPlugin.h:120
dwStatus
dwStatus
Status definition.
Definition: ErrorDefs.h:32
DW_RADAR_RANGE_COUNT
@ DW_RADAR_RANGE_COUNT
Count.
Definition: RadarTypes.h:83
_dwSensorRadarDecoder_constants::properties
dwRadarProperties properties
Radar properties.
Definition: RadarPlugin.h:42
dwSensorCommonPluginFunctions
Function Table exposing common plugin functions.
Definition: SensorCommonPlugin.h:245
dwSensorRadarPluginFunctionTable
Holds the list of exported functions implemented by the vendor-provided library.
Definition: RadarPlugin.h:126
_dwSensorRadarDecoder_constants::maxPacketsPerScan
size_t maxPacketsPerScan
Maximum packets per scan.
Definition: RadarPlugin.h:51
dwRadarVehicleState
Defines the structure for reporting current vehicle dynamics state.
Definition: RadarTypes.h:407
SensorCommonPlugin.h
RadarFullTypes.h
_dwSensorRadarDecoder_constants::dynamicsSizeInBytes
size_t dynamicsSizeInBytes
Dynamics Size, in bytes.
Definition: RadarPlugin.h:57