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>
82 static constexpr char8_t LOG_TAG[]{
"dwSelfCalibrationCameraBasedIMUNode"};
112 describePass(StringView{
"SETUP"}, DW_PROCESSOR_TYPE_CPU),
113 describePass(StringView{
"GET_INPUTS"}, DW_PROCESSOR_TYPE_CPU),
114 describePass(StringView{
"PROCESS_GPU_ASYNC"}, DW_PROCESSOR_TYPE_GPU),
115 describePass(StringView{
"PROCESS_CPU_SYNC"}, DW_PROCESSOR_TYPE_CPU),
116 describePass(StringView{
"TEARDOWN"}, DW_PROCESSOR_TYPE_CPU));
127 describeConstructorArgument<dwSelfCalibrationCameraBasedIMUNodeParams>(
133 "cameraSensorIndex"_sv,
141 "enableCalibration"_sv,
145 "channelFifoSize"_sv,
149 "cameraSensorStreamIndex"_sv,
151 describeConstructorArgument<dwContextHandle_t>(
153 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.
This node computes the IMU's extrinsic properties (rotation) with respect to the configured nominal.
dwSelfCalibrationCameraBasedIMUNode(dwSelfCalibrationCameraBasedIMUNodeParams const ¶m, dwContextHandle_t const ctx)
static constexpr auto describeOutputPorts()
void onChannelsConnected() override
static constexpr char8_t LOG_TAG[]
static constexpr auto describeInputPorts()
static constexpr auto describeParameters()
static constexpr auto describePasses()
static std::unique_ptr< dwSelfCalibrationCameraBasedIMUNode > create(ParameterProvider const &provider)
uint32_t imuSensorIndex
Sensor type index (e.g. imu [0-2]), provided as parameter.
dwConstRigHandle_t rigHandle
constexpr std::tuple describeConstructorArguments()
constexpr PassDescriptorT< 0 > describePass(dw::core::StringView &&name, dwProcessorType processorType)
bool enableCalibration
Flag to enable and disable calibration.
dwConstCameraModelHandle_t cameraHandle
Camera handle.
constexpr auto describePassCollection(const Args &&... args) -> std::tuple< Args... >
uint32_t imuSensorRigIndex
Sensor rig index (e.g. sensor [0-127]), auto-populated by RR2 Loader.
constexpr auto describePortCollection(Args &&... args) -> dw::core::Tuple< Args... >
cudaStream_t cudaStream
CUDA stream used for GPU computations.
uint32_t cameraSensorRigIndex
Sensor rig index (e.g. sensor [0-127]), auto-populated by RR2 Loader.
size_t cameraSensorIndex
TODO(lmoltrecht): AVC-2389 Consider changing to uint32_t after node split is finished,...
uint32_t channelFifoSize
Size of the input channel FIFO queues (must be >0)
Parameters for dwSelfCalibrationCameraBasedIMUNode.