|
NVIDIA DriveOS Linux NSR SDK API Reference
|
7.0.3.0 Release
|
Go to the documentation of this file.
29 #ifndef DW_POINTCLOUDPROCESSING_POINTCLOUDACCUMULATOR_H_
30 #define DW_POINTCLOUDPROCESSING_POINTCLOUDACCUMULATOR_H_
32 #include <dw/core/base/Types.h>
33 #include <dw/pointcloudprocessing/pointcloud/PointCloud.h>
34 #include <dw/egomotion/base/Egomotion.h>
35 #include <dw/sensors/lidar/Lidar.h>
67 bool enableZeroCrossDetection;
69 bool outputInRigCoordinates;
301 #endif // DW_POINTCLOUDPROCESSING_POINTCLOUDACCUMULATOR_H_
Defines point cloud accumulator parameters.
dwMemoryType memoryType
The module will process lidar packets and output to cuda memory if memoryType = DW_MEMORY_CUDA.
DW_API_PUBLIC dwStatus dwPointCloudAccumulator_getSweepSize(dwVector2ui *size, dwPointCloudAccumulatorHandle_t obj)
Gets sweeps/spins size.
float32_t maxDistanceMeter
Ending distance in degree.
dwTransformation3f sensorTransformation
Transformation aligns the lidar sensor with the platform that produces the egomotion.
DW_API_PUBLIC dwStatus dwPointCloudAccumulator_bindOutputTimestamps(dwPointCloudTimestampRange *timestampRange, dwPointCloudAccumulatorHandle_t obj)
Binds output timestamp range.
float32_t maxAngleDegree
Ending angle in degree.
Defines point cloud data structure.
DW_API_PUBLIC dwPointCloudRangeImageCreatorParams const *const const dwContextHandle_t ctx
dwTime_t sensorStartTimestamp
DW_API_PUBLIC dwStatus dwPointCloudAccumulator_getDefaultParams(dwPointCloudAccumulatorParams *params)
Gets default point cloud accumulator parameters.
bool enableMotionCompensation
Setting it to true will correct the distortions caused by lidar sensor motion.
Defines a two-element unsigned-integer vector.
DW_API_PUBLIC dwStatus dwPointCloudAccumulator_getCUDAStream(cudaStream_t *stream, dwPointCloudAccumulatorHandle_t obj)
Gets CUDA stream of point cloud accumulator.
struct dwPointCloudAccumulatorObject * dwPointCloudAccumulatorHandle_t
DW_API_PUBLIC dwStatus dwPointCloudAccumulator_addLidarPacket(const dwLidarDecodedPacket *packet, dwPointCloudAccumulatorHandle_t obj)
Pushes lidar packet to point cloud accumulator.
dwTime_t sensorEndTimestamp
DW_API_PUBLIC dwStatus dwPointCloudAccumulator_process(dwPointCloudAccumulatorHandle_t obj)
Accumulates lidar packets and stores the results to the output buffer.
DW_API_PUBLIC dwStatus dwPointCloudAccumulator_initialize(dwPointCloudAccumulatorHandle_t *obj, const dwPointCloudAccumulatorParams *accumulationParams, const dwLidarProperties *lidarProperties, dwContextHandle_t ctx)
Initializes point cloud accumulator.
DW_API_PUBLIC dwStatus dwPointCloudAccumulator_setLidarToRigTransformation(const dwTransformation3f *transformation, dwPointCloudAccumulatorHandle_t obj)
Sets lidar to rig transformation.
DW_API_PUBLIC dwStatus dwPointCloudAccumulator_setCUDAStream(const cudaStream_t stream, dwPointCloudAccumulatorHandle_t obj)
Sets CUDA stream of point cloud accumulator.
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
float float32_t
Specifies POD types.
dwEgomotionConstHandle_t egomotion
Handle to egomotion module.
float32_t minDistanceMeter
Starting distance in meter.
Defines the structure for a decoded lidar packet.
Defines the properties of the lidar.
dwTime_t hostEndTimestamp
float32_t minAngleDegree
Starting angle in degree.
DW_API_PUBLIC dwStatus dwPointCloudAccumulator_bindOutput(dwPointCloud *pointCloud, dwPointCloudAccumulatorHandle_t obj)
Binds output point cloud buffer.
Defines timestamp range of a point cloud.
struct dwContextObject * dwContextHandle_t
Context handle.
dwStatus
Status definition.
dwTime_t hostStartTimestamp
uint32_t outputFormats
Combination of desired dwPointCloudFormat flags.
struct dwPointCloudTimestampRange dwPointCloudTimestampRange
Defines timestamp range of a point cloud.
DW_API_PUBLIC dwPointCloudRangeImageCreatorParams const *const params
DW_API_PUBLIC dwStatus dwPointCloudAccumulator_reset(dwPointCloudAccumulatorHandle_t obj)
Resets point cloud accumulator.
const NvSciSyncObj *const obj
DW_API_PUBLIC dwStatus dwPointCloudAccumulator_release(dwPointCloudAccumulatorHandle_t obj)
Releases point cloud accumulator.
struct dwEgomotionObject const * dwEgomotionConstHandle_t
Const Egomotion Handle.
uint32_t filterWindowSize
The horizontal smoothing filter window size.
DW_API_PUBLIC dwStatus dwPointCloudAccumulator_isReady(bool *isReady, dwPointCloudAccumulatorHandle_t obj)
Indicate that enough data has been collected to perform full combination.
bool organized
If user sets it to true, the module will process the lidar packets such that the output data is align...