31#ifndef DWFRAMEWORK_DWNODES_SENSORS_DWRADARNODE_DWRADARNODE_HPP_
32#define DWFRAMEWORK_DWNODES_SENSORS_DWRADARNODE_DWRADARNODE_HPP_
34#include <dw/sensors/Sensors.h>
35#include <dw/sensors/radar/Radar.h>
43#include <dwframework/dwnodes/common/SelfCalibrationTypes.hpp>
44#include <dwframework/dwnodes/common/SensorCommonTypes.hpp>
45#include <dwframework/dwnodes/common/channelpackets/Radar.hpp>
46#include <dwframework/dwnodes/common/channelpackets/SelfCalibrationTypes.hpp>
47#include <dwframework/dwnodes/common/channelpackets/SensorCommonTypes.hpp>
48#include <dwframework/dwnodes/common/channelpackets/Sensors.hpp>
64 static constexpr char8_t LOG_TAG[]{
"dwRadarNode"};
95 describePass(StringView{
"SETUP"}, DW_PROCESSOR_TYPE_CPU),
96 describePass(StringView{
"RAW_OUTPUT"}, DW_PROCESSOR_TYPE_CPU),
97 describePass(StringView{
"PROCESSED_OUTPUT"}, DW_PROCESSOR_TYPE_CPU),
98 describePass(StringView{
"TEARDOWN"}, DW_PROCESSOR_TYPE_CPU));
103 return DW_SENSOR_RADAR;
113 return describeConstructorArguments<char8_t const*, dwRigHandle_t, dwSALHandle_t, dwContextHandle_t, FixedString<32>>(
130 dw::core::FixedString<32>,
131 "frameSkipMask"_sv)));
135 dwSALHandle_t sal, dwContextHandle_t ctx,
const FixedString<32>& frameSkipMask);
137 dwSALHandle_t sal, dwContextHandle_t ctx);
#define DW_DESCRIBE_INDEX_PARAMETER_WITH_SEMANTIC(TYPE_NAME, SEMANTIC_TYPE_NAME, args...)
#define DW_DESCRIBE_UNNAMED_PARAMETER(TYPE_NAME, args...)
#define DW_DESCRIBE_PARAMETER(TYPE_NAME, args...)
#define DW_DESCRIBE_PORT(TYPE_NAME, args...)
The interface to access parameter values identified by name and/or (semantic) type.
dwSensorType getSensorType() const
dwRadarNode(dwSensorParams const ¶ms, dwSALHandle_t sal, dwContextHandle_t ctx)
dwRadarNode(dwRadarNode const &other)=default
dwRadarNode & operator=(dwRadarNode const &)=default
dwRadarNode(dwRadarNode &&other)=default
~dwRadarNode() override=default
static constexpr auto describePasses()
static std::unique_ptr< dwRadarNode > create(ParameterProvider const &provider)
static constexpr auto describeOutputPorts()
dwRadarNode(char8_t const *sensorName, dwConstRigHandle_t rigHandle, dwSALHandle_t sal, dwContextHandle_t ctx, const FixedString< 32 > &frameSkipMask)
static constexpr auto describeInputPorts()
dwRadarNode & operator=(dwRadarNode &&)=default
static constexpr auto describeParameters()
static constexpr char8_t LOG_TAG[]
constexpr auto describeConstructorArgument(const Args &&... args) -> dw::core::Tuple< Args... >
constexpr auto describePassCollection(const Args &&... args) -> std::tuple< Args... >
constexpr auto describePortCollection(Args &&... args) -> dw::core::Tuple< Args... >
constexpr PassDescriptorT< 0 > describePass(dw::core::StringView const &&name, dwProcessorType processorType)