43 [[nodiscard]] std::string
type()
const override;
46 [[nodiscard]]
static std::string
category();
53 [[nodiscard]]
json save()
const override;
nlohmann::json json
json namespace
Node(std::string name)
Constructor.
static std::string category()
String representation of the Class Category.
json save() const override
Saves the node into a json object.
UartPacketConverter & operator=(UartPacketConverter &&)=delete
Move assignment operator.
bool _syncInPin
Show the SyncIn Pin.
void restore(const json &j) override
Restores the node from a json object.
UartPacketConverter()
Default constructor.
OutputType _outputType
The selected output type in the GUI.
int64_t _syncOutCntCorr
Corrected SyncOut counter in case of a reset (initiator)
static constexpr size_t INPUT_PORT_INDEX_UART_PACKET
Flow (UartPacket)
UartPacketConverter(const UartPacketConverter &)=delete
Copy constructor.
UartPacketConverter(UartPacketConverter &&)=delete
Move constructor.
bool initialize() override
Initialize the node.
static constexpr size_t OUTPUT_PORT_INDEX_CONVERTED
Flow.
int64_t _lastSyncOutCnt
Last received syncOutCnt.
UartPacketConverter & operator=(const UartPacketConverter &)=delete
Copy assignment operator.
void guiConfig() override
ImGui config window which is shown on double click.
static std::string typeStatic()
String representation of the Class Type.
~UartPacketConverter() override
Destructor.
OutputType
Enum specifying the type of the output message.
@ OutputType_UbloxObs
Extract UbloxObs data.
@ OutputType_EmlidObs
Extract EmlidObs data.
@ OutputType_WiFiObs
Extract WiFiObs data.
static constexpr size_t INPUT_PORT_INDEX_SYNC_IN
Flow (SyncIn)
std::string type() const override
String representation of the Class Type.
void receiveObs(InputPin::NodeDataQueue &queue, size_t pinIdx)
Converts the UartPacket to the selected message type.
int64_t _lastSyncInCnt
Last received syncInCnt.
int64_t _syncInCntCorr
Corrected SyncIn counter in case of a reset (target)