配置
云
您可以通过访问其页面并前往Settings 来通过云配置您的机器人.Bootstrap (本地)
OAK Hub Agent 是从位于/home/robothub/agent.toml 的配置文件引导的. 在启动代理之前读取此文件, 并允许针对您的用例进行自定义. 配置包含以下几个部分:全局
Toml
1# Root directory under which agent stores all data.
2# Changing this is not recommended (no support is provided, not tested)
3root = "/home/robothub"
4
5# What type of devices to scan for
6# Options are "rvc3-remote", "rvc3-local", "rvc2-usb", "rvc2-poe"
7# Limits which devices will be discovered by this agent
8scanFor = ["rvc2-usb", "rvc2-poe"]
9
10# How often to scan for devices (in milliseconds)
11scanEvery = 15000
12
13# Logging level (useful for debugging)
14logLevel = "info" # trace, debug, info, warn, error
15
16# Trust root certificates from the system trust store
17useSystemCertificateStore = false容器
Toml
1[podman]
2# Allows you to mount additional directories to all apps
3# Example: ["/opt/my-dir"]
4additionalMounts = []
5
6# Allows you to add capabilities to all apps
7# (https://man7.org/linux/man-pages/man7/capabilities.7.html)
8additionalCapabilites = []
9
10# Image pull timeout (in seconds)
11pullTimeout = 300本地 Web UI
Toml
1[localWeb]
2# The port on which the local web server is listening
3port = 9010云
Toml
1[hub]
2# ID of the team the agent is expected to connect to
3# This makes the robot show up in the web UI as ready for adoption
4expectedTeamId = "00000000-0000-0000-0000-000000000000"流
Toml
1[streaming]
2# Forces relay mode (TURN) for WebRTC streaming
3forceRelay = false
4
5# How often to report FPS in the logs
6fpsReportInterval = "slow" # fast, slow
7
8# If you want to define your own ICE servers (TURN/STUN)
9[[streaming.additionalIceServers]]
10hostname = "google.com"
11port = 1234
12username = "test"
13password = "test"