Class SystemLogger
Defined in File SystemLogger.hpp
Inheritance Relationships
Base Type
public dai::NodeCRTP< Node, SystemLogger, SystemLoggerProperties >(Template Class NodeCRTP)
Class Documentation
-
class SystemLogger : public dai::NodeCRTP<Node, SystemLogger, SystemLoggerProperties>
SystemLogger node. Send system information periodically.
Public Functions
-
void setRate(float hz)
Specify logging rate, at which messages will be sent out
- Parameters:
hz – Sending rate in hertz (messages per second)
-
float getRate()
Gets logging rate, at which messages will be sent out
Public Members
-
Output out = {*this, "out", Output::Type::MSender, {{DatatypeEnum::SystemInformation, false}}}
Outputs SystemInformation message that carries various system information like memory and CPU usage, temperatures, …
Public Static Attributes
-
static constexpr const char *NAME = "SystemLogger"
-
void setRate(float hz)