DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

PilotNet.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 
48 #ifndef DW_PILOTNET_H_
49 #define DW_PILOTNET_H_
50 
51 #include <dw/core/Context.h>
52 #include <dw/dnn/DNN.h>
53 
54 #ifdef __cplusplus
55 extern "C" {
56 #endif
57 
61 typedef struct dwPilotNetObject* dwPilotNetHandle_t;
62 
66 typedef enum dwPilotNetModel {
76 
80 typedef struct dwPilotNetParams
81 {
87  const void* networkCustomData;
89 
101 
114 dwStatus dwPilotNet_initialize(dwPilotNetHandle_t* pilotNetHandle,
115  const dwPilotNetParams* pilotNetParams,
116  dwContextHandle_t ctx);
117 
128 dwStatus dwPilotNet_reset(dwPilotNetHandle_t obj);
129 
141 dwStatus dwPilotNet_release(dwPilotNetHandle_t obj);
142 
143 #ifdef __cplusplus
144 }
145 #endif
146 
147 #endif // DW_PILOTNET_H_
PilotNet V4_5 model (improved V4_4 model) with 100m trajectories (Highway & local) ...
Definition: PilotNet.h:70
dwPilotNetModel networkModel
PilotNet network model.
Definition: PilotNet.h:83
DW_API_PUBLIC dwStatus dwPilotNet_release(dwPilotNetHandle_t obj)
Releases the PilotNet DNN module.
dwPrecision
Definition: Types.h:140
PilotNet V4_4 model with 100m trajectories (Highway & local)
Definition: PilotNet.h:68
NVIDIA DriveWorks API: Core Methods
Network name must be provided in networkCustomData field in dwPilotNetParams.
Definition: PilotNet.h:74
DW_API_PUBLIC dwStatus dwPilotNet_reset(dwPilotNetHandle_t obj)
Reset PilotNet.
DW_API_PUBLIC dwStatus dwPilotNet_initDefaultParams(dwPilotNetParams *pilotNetParams)
Initializes PilotNet parameters with default values.
NVIDIA DriveWorks API: DNN Methods
dwPilotNetModel
PilotNet network models to be loaded by PilotNet module.
Definition: PilotNet.h:66
dwStatus
Status definition.
Definition: Status.h:178
PilotNet model parameters.
Definition: PilotNet.h:80
DW_API_PUBLIC dwStatus dwPilotNet_initialize(dwPilotNetHandle_t *pilotNetHandle, const dwPilotNetParams *pilotNetParams, dwContextHandle_t ctx)
Initializes PilotNet DNN module.
Number of available PilotNet models.
Definition: PilotNet.h:72
struct dwContextObject * dwContextHandle_t
Context handle.
Definition: Context.h:80
const void * networkCustomData
Custom network data. Must be set if custom model is selected and available.
Definition: PilotNet.h:87
struct dwPilotNetObject * dwPilotNetHandle_t
Handle for PilotNet DNN object.
Definition: PilotNet.h:61
#define DW_API_PUBLIC
Definition: Exports.h:56
dwPrecision networkPrecision
PilotNet network precision. Default is DW_PRECISION_FP32.
Definition: PilotNet.h:85