31#ifndef DWFRAMEWORK_DWNODES_POINTCLOUDPROCESSING_DWICPNODE_DWICPNODE_HPP_
32#define DWFRAMEWORK_DWNODES_POINTCLOUDPROCESSING_DWICPNODE_DWICPNODE_HPP_
34#include <dw/sensors/lidar/Lidar.h>
41#include <dwframework/dwnodes/common/PointCloudProcessingCommonTypes.hpp>
42#include <dwframework/dwnodes/common/SensorCommonTypes.hpp>
43#include <dwframework/dwnodes/common/channelpackets/EgomotionState.hpp>
44#include <dwframework/dwnodes/common/channelpackets/PointCloud.hpp>
45#include <dwframework/dwnodes/common/channelpackets/PointCloudProcessingCommonTypes.hpp>
54 dwConstRigHandle_t rigHandle;
73 static constexpr char8_t LOG_TAG[]{
"dwIcpNode"};
98 describePass(StringView{
"SETUP"}, DW_PROCESSOR_TYPE_CPU),
99 describePass(StringView{
"PASS_PROCESS_ICP_GPU_ASYNC"}, DW_PROCESSOR_TYPE_GPU),
100 describePass(StringView{
"PASS_PROCESS_ICP_CPU_SYNC"}, DW_PROCESSOR_TYPE_CPU),
101 describePass(StringView{
"TEARDOWN"}, DW_PROCESSOR_TYPE_CPU));
110 describeConstructorArgument<dwIcpNodeParams>(
113 &dwIcpNodeParams::rigHandle),
125 "lidarMaxICPIterations"_sv,
129 "accumulatorDownsampleFactor"_sv,
133 "lidarICPUsesEgomotion"_sv,
141 "cudaStreamIndex"_sv,
143 describeConstructorArgument<dwContextHandle_t>(
#define DW_DESCRIBE_INDEX_PARAMETER_WITH_SEMANTIC(TYPE_NAME, SEMANTIC_TYPE_NAME, args...)
#define DW_DESCRIBE_INDEX_PARAMETER(TYPE_NAME, args...)
#define DW_DESCRIBE_UNNAMED_PARAMETER(TYPE_NAME, args...)
#define DW_DESCRIBE_PARAMETER(TYPE_NAME, args...)
#define DW_DESCRIBE_PORT(TYPE_NAME, NAME, args...)
The interface to access parameter values identified by name and/or (semantic) type.
static std::unique_ptr< dwIcpNode > create(ParameterProvider &provider)
static constexpr auto describeParameters()
static constexpr auto describePasses()
void onChannelsConnected() override
static constexpr char8_t LOG_TAG[]
static constexpr auto describeOutputPorts()
static constexpr auto describeInputPorts()
dwIcpNode(const dwIcpNodeParams ¶m, const dwContextHandle_t ctx)
uint32_t accumulatorDownsampleFactor
constexpr std::tuple describeConstructorArguments()
dwIcpNodeParams { dwConstRigHandle_t rigHandle dwIcpNodeParams
uint32_t lidarMaxICPIterations
constexpr PassDescriptorT< 0 > describePass(dw::core::StringView &&name, dwProcessorType processorType)
dwLidarProperties lidarProps
bool lidarICPUsesEgomotion
constexpr auto describePassCollection(const Args &&... args) -> std::tuple< Args... >
constexpr auto describePortCollection(Args &&... args) -> dw::core::Tuple< Args... >