19#include <boost/asio.hpp>
26namespace NAV::experimental
49 [[nodiscard]] std::string
type()
const override;
62 constexpr static size_t OUTPUT_PORT_INDEX_IMU_OBS = 0;
63 constexpr static size_t OUTPUT_PORT_INDEX_GNSS_OBS = 1;
66 bool initialize()
override;
69 void deinitialize()
override;
72 boost::asio::io_context _ioservice;
78 std::thread _testThread;
81 constexpr static unsigned int _maxLength = 1024;
84 std::array<char, _maxLength> _data{};
87 boost::asio::ip::udp::endpoint _senderEndpoint;
89 boost::asio::ip::udp::socket _socket;
94 bool _isStartup =
true;
97 std::chrono::steady_clock::time_point _startPoint;
100 uint64_t _lastMessageTime{};
103 int _packageCount = 0;
106 int _packagesNumber = 2;
109 double _dataRate = 0.0;
112 int _startCounter = 0;
The class is responsible for all time-related tasks.
Abstract IMU Class.
Definition Imu.hpp:24
SkydelNetworkStream Sensor Class.
Definition SkydelNetworkStream.hpp:30
std::string type() const override
String representation of the Class Type.
void guiConfig() override
ImGui config window which is shown on double click.
SkydelNetworkStream & operator=(SkydelNetworkStream &&)=delete
Move assignment operator.
bool resetNode() override
Resets the node. It is guaranteed that the node is initialized when this is called.
SkydelNetworkStream(SkydelNetworkStream &&)=delete
Move constructor.
SkydelNetworkStream & operator=(const SkydelNetworkStream &)=delete
Copy assignment operator.
~SkydelNetworkStream() override
Destructor.
static std::string typeStatic()
String representation of the Class Type.
static std::string category()
String representation of the Class Category.
SkydelNetworkStream()
Default constructor.
SkydelNetworkStream(const SkydelNetworkStream &)=delete
Copy constructor.