NVIDIA DriveOS Linux NSR SDK API Reference

7.0.3.0 Release
DopplerMotionEstimator.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2018-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 
30 #ifndef DW_EGOMOTION_RADAR_DOPPLERMOTIONESTIMATOR_H__
31 #define DW_EGOMOTION_RADAR_DOPPLERMOTIONESTIMATOR_H__
32 
33 #include <dw/core/context/Context.h>
34 #include <dw/sensors/radar/Radar.h>
35 #include <dw/control/vehicleio/VehicleIOValStructures.h>
36 #include <dw/rig/Vehicle.h>
37 
39 
40 #ifdef __cplusplus
41 extern "C" {
42 #endif
43 
45 typedef struct dwRadarDopplerMotionObject* dwRadarDopplerMotionHandle_t;
46 
66  cudaStream_t stream,
68 
83 
100 dwStatus dwRadarDopplerMotion_setCUDAStream(cudaStream_t stream,
102 
118 dwStatus dwRadarDopplerMotion_getCUDAStream(cudaStream_t* stream,
120 
141 
161  dwVehicleIONonSafetyState const* nonSafeState,
162  dwVehicleIOActuationFeedback const* actuationFeedback,
164 
184 
199 
214 
215 #ifdef __cplusplus
216 }
217 #endif
218 
220 #endif // DW_EGOMOTION_RADAR_DOPPLERMOTIONESTIMATOR_H__
dwRadarDopplerMotion_addVehicleIOState
DW_API_PUBLIC dwStatus dwRadarDopplerMotion_addVehicleIOState(dwVehicleIOSafetyState const *safeState, dwVehicleIONonSafetyState const *nonSafeState, dwVehicleIOActuationFeedback const *actuationFeedback, dwRadarDopplerMotionHandle_t obj)
Notifies the radar module of a changed vehicle state.
dwRadarDopplerMotionHandle_t
struct dwRadarDopplerMotionObject * dwRadarDopplerMotionHandle_t
Handle to a radar-motion module object.
Definition: DopplerMotionEstimator.h:45
dwRadarDopplerMotionParams
Parameters that control the initialization of RadarDopplerMotion module.
Definition: DopplerMotionEstimatorTypes.h:90
ctx
DW_API_PUBLIC dwPointCloudRangeImageCreatorParams const *const const dwContextHandle_t ctx
Definition: PointCloudRangeImageCreator.h:293
dwRadarDopplerMotion_getMotion
DW_API_PUBLIC dwStatus dwRadarDopplerMotion_getMotion(dwRadarDopplerMotion *motion, dwRadarDopplerMotionHandle_t obj)
Gets the available radar motion estimation result.
dwVehicleIONonSafetyState
Non-safety critical RoV state.
Definition: VehicleIOValStructures.h:8792
dwRadarDopplerMotion_initialize
DW_API_PUBLIC dwStatus dwRadarDopplerMotion_initialize(dwRadarDopplerMotionHandle_t *obj, dwRadarDopplerMotionParams const *params, cudaStream_t stream, dwContextHandle_t ctx)
Creates and initializes a GPU-based radar motion estimation module.
dwRadarDopplerMotion_getDefaultParams
DW_API_PUBLIC dwStatus dwRadarDopplerMotion_getDefaultParams(dwRadarDopplerMotionParams *params)
Get the default Radar Doppler motion parameters.
dwRadarDopplerMotion_reset
DW_API_PUBLIC dwStatus dwRadarDopplerMotion_reset(dwRadarDopplerMotionHandle_t obj)
Resets the radar Doppler motion module.
dwRadarScan
Defines the structure for a complete radar scan.
Definition: RadarFullTypes.h:42
dwRadarDopplerMotion_processAsync
DW_API_PUBLIC dwStatus dwRadarDopplerMotion_processAsync(dwRadarScan const *radarScan, dwRadarDopplerMotionHandle_t obj)
Process the dwRadarScan and compute the radar motion.
dwRadarDopplerMotion_setCUDAStream
DW_API_PUBLIC dwStatus dwRadarDopplerMotion_setCUDAStream(cudaStream_t stream, dwRadarDopplerMotionHandle_t obj)
Sets the CUDA stream for CUDA related operations.
dwContextHandle_t
struct dwContextObject * dwContextHandle_t
Context handle.
Definition: Context.h:74
dwRadarDopplerMotion
Defines the radar motion.
Definition: DopplerMotionEstimatorTypes.h:41
dwVehicleIOActuationFeedback
Feedback from actuation.
Definition: VehicleIOValStructures.h:7205
dwRadarDopplerMotion_getCUDAStream
DW_API_PUBLIC dwStatus dwRadarDopplerMotion_getCUDAStream(cudaStream_t *stream, dwRadarDopplerMotionHandle_t obj)
Gets CUDA stream used by the radar Doppler motion.
dwStatus
dwStatus
Status definition.
Definition: ErrorDefs.h:27
DopplerMotionEstimatorTypes.h
params
DW_API_PUBLIC dwPointCloudRangeImageCreatorParams const *const params
Definition: PointCloudRangeImageCreator.h:292
DW_API_PUBLIC
#define DW_API_PUBLIC
Definition: Exports.h:38
obj
const NvSciSyncObj *const obj
Definition: wfdext.h:120
dwVehicleIOSafetyState
Safety critical VIO state.
Definition: VehicleIOValStructures.h:8054
dwRadarDopplerMotion_release
DW_API_PUBLIC dwStatus dwRadarDopplerMotion_release(dwRadarDopplerMotionHandle_t obj)
Releases the radar Doppler motion module.