NVIDIA DriveOS Linux NSR SDK API Reference

7.0.3.0 Release
LidarPlugin.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2019-2024 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_LIDAR_PLUGIN_H
21 #define DW_SENSORS_LIDAR_PLUGIN_H
22 
23 #include <dw/sensors/legacy/plugins/SensorCommonPlugin.h>
24 #include <dw/sensors/sensorlive/plugins/lidar/LidarSensorPlugin.h>
25 #include <dw/sensors/lidar/LidarTypes.h>
26 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 
40 typedef struct
41 {
44 
48 
65  dwLidarDecodedPacket* output, const dwTime_t hostTimeStamp,
67 
78 
83 typedef struct
84 {
90 
105 
108 #ifdef __cplusplus
109 }
110 #endif
111 
112 #endif
dwSensorLidarPluginFunctionTable::getDecoderConstants
dwSensorLidarPlugin_getDecoderConstants getDecoderConstants
Definition: LidarPlugin.h:87
dwSensorLidarPlugin_getFunctionTable
dwStatus dwSensorLidarPlugin_getFunctionTable(dwSensorLidarPluginFunctionTable *functions)
Returns the table of functions that are provided by the vendor-provided library for the sensor.
dwSensorLidarPluginFunctionTable::parseDataBuffer
dwSensorLidarPlugin_parseDataBuffer parseDataBuffer
Definition: LidarPlugin.h:86
_dwSensorLidarDecoder_constants::properties
dwLidarProperties properties
Lidar properties.
Definition: LidarPlugin.h:43
sensor
DW_API_PUBLIC const dwSensorHandle_t sensor
Definition: Camera.h:714
dwSensorLidarPluginFunctionTable::common
dwSensorCommonPluginFunctions common
Definition: LidarPlugin.h:85
_dwSensorLidarDecoder_constants
Holds constants for a given lidar.
Definition: LidarPlugin.h:40
dwTime_t
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
Definition: BasicTypes.h:54
dwSensorPluginSensorHandle_t
void * dwSensorPluginSensorHandle_t
Plugin handle. Used in plugin public interfaces.
Definition: SensorPlugin.h:33
dwSensorLidarPlugin_getDecoderConstants
dwStatus(* dwSensorLidarPlugin_getDecoderConstants)(_dwSensorLidarDecoder_constants *constants, dwSensorPluginSensorHandle_t sensor)
Gets constants associated with this lidar sensor.
Definition: LidarPlugin.h:77
dwSensorLidarPluginFunctionTable
Holds the list of exported functions implemented by the vendor-provided library.
Definition: LidarPlugin.h:83
dwSensorLidarPlugin_parseDataBuffer
dwStatus(* dwSensorLidarPlugin_parseDataBuffer)(dwLidarDecodedPacket *output, const dwTime_t hostTimeStamp, dwSensorPluginSensorHandle_t sensor)
Processes the data previously passed via the 'dwSensorPlugin_pushData' interface.
Definition: LidarPlugin.h:64
dwSensorLidarPluginFunctionTable::sendMessage
dwSensorLidarPlugin_sendMessage sendMessage
Definition: LidarPlugin.h:88
dwLidarDecodedPacket
Defines the structure for a decoded lidar packet.
Definition: LidarTypes.h:275
dwLidarProperties
Defines the properties of the lidar.
Definition: LidarTypes.h:194
dwSensorCommonPluginFunctions
Function Table exposing common plugin functions.
Definition: SensorCommonPlugin.h:244
dwStatus
dwStatus
Status definition.
Definition: ErrorDefs.h:27
_dwSensorLidarDecoder_constants::maxPayloadSize
size_t maxPayloadSize
Packet max payload size, in bytes.
Definition: LidarPlugin.h:46
dwSensorLidarPlugin_sendMessage
dwStatus(* dwSensorLidarPlugin_sendMessage)(uint32_t const cmd, uint8_t const *const data, size_t const size, dwSensorPluginSensorHandle_t sensor)
Send message to lidar sensor.
Definition: LidarSensorPlugin.h:44