31#ifndef DWFRAMEWORK_DWNODES_SELFCALIBRATION_DWSELFCALIBRATIONCAMERAIMUNODE_DWSELFCALIBRATIONCAMERAIMUNODE_HPP_
32#define DWFRAMEWORK_DWNODES_SELFCALIBRATION_DWSELFCALIBRATIONCAMERAIMUNODE_DWSELFCALIBRATIONCAMERAIMUNODE_HPP_
34#include <dw/calibration/cameramodel/CameraModel.h>
41#include <dwframework/dwnodes/common/channelpackets/EgomotionState.hpp>
42#include <dwframework/dwnodes/common/channelpackets/FeatureList.hpp>
43#include <dwframework/dwnodes/common/channelpackets/IMU.hpp>
44#include <dwframework/dwnodes/common/channelpackets/SelfCalibrationTypes.hpp>
45#include <dwframework/dwnodes/common/channelpackets/SensorCommonTypes.hpp>
46#include <dwframework/dwnodes/common/channelpackets/VehicleIOValStructures.hpp>
47#include <dwframework/dwnodes/common/SelfCalibrationTypes.hpp>
48#include <dwframework/dwnodes/selfcalibration/common/NodeCommonParams.hpp>
78 static constexpr char8_t LOG_TAG[]{
"dwSelfCalibrationCameraBasedIMUNode"};
111 describePass(StringView{
"SETUP"}, DW_PROCESSOR_TYPE_CPU),
112 describePass(StringView{
"PROCESS_NONCAMERA"}, DW_PROCESSOR_TYPE_CPU),
113 describePass(StringView{
"PROCESS_CAMERA_GPU_ASYNC"}, DW_PROCESSOR_TYPE_GPU),
114 describePass(StringView{
"PROCESS_CAMERA_CPU_SYNC"}, DW_PROCESSOR_TYPE_CPU),
115 describePass(StringView{
"TEARDOWN"}, DW_PROCESSOR_TYPE_CPU));
126 describeConstructorArgument<dwSelfCalibrationCameraBasedIMUNodeParam>(
132 "cameraSensorIndex"_sv,
140 "enableCalibration"_sv,
144 "cameraCalibrationMethod"_sv,
148 "cameraCalibrationSignals"_sv,
152 "rotationHistogramRangeDeg"_sv,
156 "histogramMaxOutlierFailureCount"_sv,
160 "channelFifoSize"_sv,
164 "cameraSensorStreamIndex"_sv,
166 describeConstructorArgument<dwContextHandle_t>(
168 dwContextHandle_t)));
#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.
dwSelfCalibrationCameraBasedIMUNode(dwSelfCalibrationCameraBasedIMUNodeParam const ¶m, dwContextHandle_t const ctx)
static constexpr auto describeOutputPorts()
static std::unique_ptr< dwSelfCalibrationCameraBasedIMUNode > create(ParameterProvider &provider)
static constexpr char8_t LOG_TAG[]
static constexpr auto describeInputPorts()
static constexpr auto describeParameters()
static constexpr auto describePasses()
size_t cameraSensorIndex
TODO(lmoltrecht): AVC-2389 Consider changing to uint32_t after node split is finished,...
dwSelfCalibrationNodeCameraParams cameraParams
constexpr std::tuple describeConstructorArguments()
constexpr PassDescriptorT< 0 > describePass(dw::core::StringView &&name, dwProcessorType processorType)
constexpr auto describePassCollection(const Args &&... args) -> std::tuple< Args... >
constexpr auto describePortCollection(Args &&... args) -> dw::core::Tuple< Args... >
uint32_t histogramMaxOutlierFailureCount
dwConstRigHandle_t rigHandle