31#ifndef DWFRAMEWORK_DWNODES_SENSORS_DWULTRASONICNODE_DWULTRASONICNODE_HPP_
32#define DWFRAMEWORK_DWNODES_SENSORS_DWULTRASONICNODE_DWULTRASONICNODE_HPP_
34#include <dw/sensors/common/Sensors.h>
35#include <dw/sensors/ultrasonic/Ultrasonic.h>
41#include <dwframework/dwnodes/common/SensorCommonTypes.hpp>
42#include <dwframework/dwnodes/common/channelpackets/SelfCalibrationTypes.hpp>
43#include <dwframework/dwnodes/common/channelpackets/SensorCommonTypes.hpp>
44#include <dwframework/dwnodes/common/channelpackets/Sensors.hpp>
45#include <dwframework/dwnodes/common/channelpackets/Ultrasonic.hpp>
46#include <dwframework/dwnodes/common/channelpackets/VehicleIOLegacyStructures.hpp>
62 static constexpr char8_t LOG_TAG[]{
"dwUltrasonicsNode"};
92 describePass(StringView{
"SETUP"}, DW_PROCESSOR_TYPE_CPU),
93 describePass(StringView{
"RAW_OUTPUT"}, DW_PROCESSOR_TYPE_CPU),
94 describePass(StringView{
"PROCESSED_OUTPUT"}, DW_PROCESSOR_TYPE_CPU),
95 describePass(StringView{
"TEARDOWN"}, DW_PROCESSOR_TYPE_CPU));
100 return DW_SENSOR_ULTRASONIC;
109 describeConstructorArgument<const char*>(
113 describeConstructorArgument<dwConstRigHandle_t>(
115 dwConstRigHandle_t)),
116 describeConstructorArgument<dwSALHandle_t>(
119 describeConstructorArgument<dwContextHandle_t>(
124 dw::core::FixedString<32>,
125 "frameSkipMask"_sv)));
131 dwSALHandle_t sal, dwContextHandle_t ctx,
const FixedString<32>& frameSkipMask);
133 dwSALHandle_t sal, dwContextHandle_t ctx);
#define DW_DESCRIBE_UNNAMED_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, NAME, args...)
The interface to access parameter values identified by name and/or (semantic) type.
dwUltrasonicNode(const char *sensorName, dwConstRigHandle_t rigHandle, dwSALHandle_t sal, dwContextHandle_t ctx, const FixedString< 32 > &frameSkipMask)
static constexpr auto describeOutputPorts()
static constexpr auto describeParameters()
dwSensorType getSensorType() const
static constexpr auto describePasses()
static std::unique_ptr< dwUltrasonicNode > create(ParameterProvider &provider)
static constexpr auto describeInputPorts()
dwUltrasonicNode(const dwSensorParams ¶ms, dwSALHandle_t sal, dwContextHandle_t ctx)
static constexpr char8_t LOG_TAG[]
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... >
constexpr auto describeConstructorArgument(const Args &&... args) -> ConstructorArgumentDescriptorT< ConstructorArgumentT, dw::core::Tuple< Args... > >