43 [[nodiscard]] std::string
type()
const override;
46 [[nodiscard]]
static std::string
category();
53 [[nodiscard]]
json save()
const override;
66 constexpr static uint8_t
FREQ = 200;
nlohmann::json json
json namespace
Class to read out LN-200 Sensors.
Abstract Uart Sensor Class.
Imu(const Imu &)=delete
Copy constructor.
Ln200Sensor(Ln200Sensor &&)=delete
Move constructor.
json save() const override
Saves the node into a json object.
static std::string typeStatic()
String representation of the Class Type.
static std::string category()
String representation of the Class Category.
void restore(const json &j) override
Restores the node from a json object.
Ln200Sensor(const Ln200Sensor &)=delete
Copy constructor.
Ln200Sensor()
Default constructor.
vendor::ln::Ln200UartSensor _sensor
Sensor Object.
Ln200Sensor & operator=(Ln200Sensor &&)=delete
Move assignment operator.
void guiConfig() override
ImGui config window which is shown on double click.
std::string type() const override
String representation of the Class Type.
Ln200Sensor & operator=(const Ln200Sensor &)=delete
Copy assignment operator.
bool resetNode() override
Resets the node. It is guaranteed that the node is initialized when this is called.
static constexpr size_t OUTPUT_PORT_INDEX_LN_OBS
Flow (ImuObs)
void deinitialize() override
Deinitialize the node.
~Ln200Sensor() override
Destructor.
bool initialize() override
Initialize the node.
static constexpr uint8_t FREQ
IMU data frequency in Hz.
static void binaryAsyncMessageReceived(void *userData, uart::protocol::Packet &p, size_t index)
Callback handler for notifications of new asynchronous data packets received.
UartSensor(const UartSensor &)=delete
Copy constructor.
Class to read out LN-200 Sensors.