31#ifndef DW_FRAMEWORK_GLOBAL_EGOMOTION_NODE_HPP_
32#define DW_FRAMEWORK_GLOBAL_EGOMOTION_NODE_HPP_
47#include <dw/egomotion/Egomotion.h>
48#include <dw/egomotion/global/GlobalEgomotion.h>
49#include <dw/egomotion/global/GlobalEgomotionSerialization.h>
51#include <dw/roadcast/base_types/RoadCastPacketTypes.hpp>
90 DW_DESCRIBE_PORT(dwGlobalEgomotionResultPayload,
"GLOBAL_EGOMOTION_RESULT_PAYLOAD"_sv));
97 describePass(
"ADD_RELATIVE_EGOMOTION"_sv, DW_PROCESSOR_TYPE_CPU),
106 const dwContextHandle_t ctx);
112 if (asyncResetNode !=
nullptr)
124 if (asyncResetNode !=
nullptr)
134 return describeConstructorArguments<dwGlobalEgomotionNodeInitParams, dwContextHandle_t>(
149 dwContextHandle_t)));
159 return DW_NOT_SUPPORTED;
#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, args...)
std::unique_ptr< Node > m_impl
static dwStatus guardWithReturn(TryBlock tryBlock, dw::core::Logger::Verbosity verbosity=dw::core::Logger::Verbosity::DEBUG)
virtual dwStatus setAsyncReset()=0
Set the async reset flag.
virtual dwStatus executeAsyncReset()=0
Executes a reset if the async reset flag is set.
virtual dwStatus preShutdown()=0
actions to be taken before node shutdown
The interface to access parameter values identified by name and/or (semantic) type.
This node computes the global vehicle state and motion over time using signals from GPS and relative ...
static constexpr auto describeOutputPorts()
static constexpr auto describePasses()
static constexpr auto describeInputPorts()
dwGlobalEgomotionNode(const dwGlobalEgomotionNodeInitParams ¶ms, const dwContextHandle_t ctx)
dwStatus setAsyncReset() override
dwStatus executeAsyncReset() override
dwStatus preShutdown() override
static std::unique_ptr< dwGlobalEgomotionNode > create(ParameterProvider &provider)
static constexpr auto describeParameters()
const char * gpsSensorName
constexpr auto describePortCollection(Args &&... args)
constexpr std::tuple< dw::core::StringView, dwProcessorType > describePass(dw::core::StringView const &&name, dwProcessorType processorType)
constexpr auto describeConstructorArgument(const Args &&... args)
dwConstRigHandle_t rigHandle
constexpr auto describePassCollection(const Args &&... args)