如何放置
Python
Python
1pipeline = dai.Pipeline()
2logger = pipeline.create(dai.node.SystemLogger)输入和输出
用法
Python
Python
1pipeline = dai.Pipeline()
2logger = pipeline.create(dai.node.SystemLogger)
3logger.setRate(1) # 1 Hz
4
5sysLogQueue = logger.out.createOutputQueue()功能示例
参考
class
dai::node::SystemLogger
variable
Output out
Outputs SystemInformation[RVC4] message that carries various system information like memory and CPU usage, temperatures, ... For series 2 devices output SystemInformation message, for series 4 devices output SystemInformationRVC4 message
function
void setRate(float hz)Specify logging rate, at which messages will be sent out
Parameters
- hz: Sending rate in hertz (messages per second)
function
float getRate()Gets logging rate, at which messages will be sent out
function
void buildInternal()Function called from within the create function to build the node. This function is useful for initialization, setting up inputs and outputs = stuff that cannot be perform in the constuctor.
inline function
DeviceNodeCRTP()inline function
DeviceNodeCRTP(const std::shared_ptr< Device > & device)inline function
DeviceNodeCRTP(std::unique_ptr< Properties > props)inline function
DeviceNodeCRTP(std::unique_ptr< Properties > props, bool confMode)inline function
DeviceNodeCRTP(const std::shared_ptr< Device > & device, std::unique_ptr< Properties > props, bool confMode)需要帮助?
请访问讨论论坛以获取技术支持或您可能有的任何其他问题。