此页面由 AI 自动翻译。查看英文原版
最后更新

本页目录

  • 如何放置
  • 输入和输出
  • 用法
  • 参考
Claude CodeCodexCursor
Luxonis 智能体工具包为你常用的编程智能体加载 Luxonis 上下文与技能,更快地基于 OAK 开发应用。
安装工具包

Replay Metadata Only 节点

最后更新
Supported on:RVC2RVC4
ReplayMetadataOnly 主机节点用于将记录的元数据重放到 Buffer 消息。

如何放置

Python

Python
1with dai.Pipeline() as pipeline:
2    replay = pipeline.create(dai.node.ReplayMetadataOnly)

C++

C++
1dai::Pipeline pipeline;
2auto replay = pipeline.create<dai::node::ReplayMetadataOnly>();

输入和输出

用法

Python

Python
1with dai.Pipeline() as pipeline:
2    replay = pipeline.create(dai.node.ReplayMetadataOnly)
3    replay.setReplayFile("metadata.mcap")
4    replay.setFps(30)
5    replay.setLoop(False)

C++

C++
1dai::Pipeline pipeline;
2auto replay = pipeline.create<dai::node::ReplayMetadataOnly>();
3replay->setReplayFile("metadata.mcap");
4replay->setFps(30);
5replay->setLoop(False);

参考

class

dai::node::ReplayMetadataOnly

#include Replay.hpp
variable
Output out
Output for any type of messages to be transferred over XLink streamDefault queue is blocking with size 8
function
void run()
function
std::filesystem::path getReplayFile()
function
float getFps()
function
bool getLoop()
function
ReplayMetadataOnly & setReplayFile(const std::filesystem::path & replayFile)
function
ReplayMetadataOnly & setFps(float fps)
function
ReplayMetadataOnly & setLoop(bool loop)

需要帮助?

请访问讨论论坛以获取技术支持或您可能有的任何其他问题。