DriveWorks SDK Reference
5.12.103 Release
For Test and Development only

LidarPlugin.h
Go to the documentation of this file.
1
2//
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-2022 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_LIDAR_PLUGIN_H
39#define DW_SENSORS_LIDAR_PLUGIN_H
40
43
52#ifdef __cplusplus
53extern "C" {
54#endif
55
57typedef struct
58{
61
65
82 dwLidarDecodedPacket* output, const dwTime_t hostTimeStamp,
84
95
111 uint32_t const cmd, uint8_t const* const data, size_t const size,
113
118typedef struct
119{
125
136
139#ifdef __cplusplus
140}
141#endif
142
143#endif
dwStatus
Status definition.
Definition: ErrorDefs.h:45
NVIDIA DriveWorks API: Lidar
NVIDIA DriveWorks: Common Sensor Plugin Interface
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
Definition: BasicTypes.h:64
Defines the structure for a decoded lidar packet.
Definition: Lidar.h:227
Defines the properties of the lidar.
Definition: Lidar.h:161
void * dwSensorPluginSensorHandle_t
Function Table exposing common plugin functions.
size_t maxPayloadSize
Packet max payload size, in bytes.
Definition: LidarPlugin.h:63
dwSensorLidarPlugin_parseDataBuffer parseDataBuffer
Definition: LidarPlugin.h:121
dwSensorLidarPlugin_getDecoderConstants getDecoderConstants
Definition: LidarPlugin.h:122
dwSensorLidarPlugin_sendMessage sendMessage
Definition: LidarPlugin.h:123
dwSensorCommonPluginFunctions common
Definition: LidarPlugin.h:120
dwLidarProperties properties
Lidar properties.
Definition: LidarPlugin.h:60
dwStatus dwSensorLidarPlugin_getFunctionTable(dwSensorLidarPluginFunctionTable *functions)
Returns the table of functions that are provided by the vendor-provided library for the sensor.
dwStatus(* dwSensorLidarPlugin_getDecoderConstants)(_dwSensorLidarDecoder_constants *constants, dwSensorPluginSensorHandle_t sensor)
Gets constants associated with this lidar sensor.
Definition: LidarPlugin.h:94
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:81
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: LidarPlugin.h:110
Holds constants for a given lidar.
Definition: LidarPlugin.h:58
Holds the list of exported functions implemented by the vendor-provided library.
Definition: LidarPlugin.h:119