机器人中心SDK <unk> Python API参考
对于机器人中心SDK的 python API参考:LinkerO6,L1Robot,SessionManager,传感器框架类,RC CLI命令,REST终端点. pip安装机器人中心.
开始
T68 T69 ) - 包装进口
类 连接O6
T72 ) ,我知道,我知道. T74
类L1机器人
, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,我不想说. - 其他类型的数据
类 传感器框架
T79
类 会议管理器
, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,我很高兴能看到你. - 现在,我们要做什么?
剩余的API
- 电话会议.
道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道 道
参考
- [环境变量]
- 支持设备
维基导航
- [←所有文章]
- 快速启动的SDK
- 会议的URL和电话
, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
查看
- 机器人学院的研究人员
, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , - 问一个问题.
包装:
Python SDK 链接O6 L1Robot 会议管理器 REST API
概述
概述
所有设备类都继承了
命令行界面
信息通信系统指令
安装机器人中心 帮助
| Command | Description |
|---|---|
| rc devices | Scan all serial and network interfaces for connected hardware. Prints device type, port, firmware version, and status. |
| rc connect | Auto-detect a supported device, create a platform session, start streaming, and open the browser panel. |
| rc connect --device |
Force a specific device type. Values: linker-o6, l1. Skips auto-detection. |
| rc connect --port |
Bind to a specific serial port instead of scanning. E.g. /dev/ttyUSB0 or COM3. |
| rc connect --mock | Start a synthetic data session with no physical hardware required. All SDK features and the browser panel are fully functional. |
| rc connect --no-browser | Suppress automatic browser launch. Session URL is printed to stdout. |
| rc session <SESSION_ID> | Show session metadata: status, device type, creation time, episode count, deep link, and upload URL. |
包装
包装进口
所有公共类型均可直接从最高级别包中进口:
机器人中心进口LinkerO6,L1Robot,SessionManager
单个子模块也可用于高级用途:
机器人中心.设备进口LinkerO6,L1Robot 从机器人中心.session进口SessionManager 从机器人中心.框架进口传感器框架
类
链接O6
类链接O6(基础设备)
操作器用于LinkerBot O6精巧的手动系统.同时处理USB连续框架 (RCSV
类方法
连接
连接到O6手机系统,返回连接设备实例. 自动创建平台会议,并开始传感器流.
| Parameter | Type | Description |
|---|---|---|
| port optional | str | None |
| mock optional | bool | When True, generates synthetic O6 sensor data. No physical device required. Default: False. |
返回
机器人中心进口 LinkerO6
设备 = LinkerO6.连接()
电脑系统的系统
产量传感器从设备到达时的框架. 阻塞到调用
| Parameter | Type | Description |
|---|---|---|
| No parameters. |
在设备.流中的框架中:
设备.停止() → 没有
停止流媒体,关闭连接. 无需多次打电话. 自动地冲除任何缓冲框,并在一个活动时完成当前录音节目.
没有平台会议 ID 分配在连接时间.
没有 对于直播电话板的浏览器URL. 例如
设备.端口 str 连接设备的连接端口路径.例如
设备.设备_类型 str "linker_o6"
设备.设备_家庭 str "dexhand"
类
机器人
类L1机器人(基础设备)
驾驶员为VLAI L1移动操纵器.通过ROS2 / CAN-FD通信. 流通关节状态,抓住器位置,基速度,升降高度,电池百分比和摄像头可用性.
类方法
机器人.连接
在硬件模式下,需要ROS2环境和L1 CAN-FD接口才能活跃.
| Parameter | Type | Description |
|---|---|---|
| port optional | str | None |
| mock optional | bool | Generate synthetic L1 state data. No ROS2 or physical robot required. Default: False. |
返回
机器人.流
机器人L1的产量传感器框架. 每个框架都包含了机器人的状态的完整快照.
机器人.停止() → 没有
停止流媒体,关闭ROS2 / CAN-FD连接. 完成任何活跃的录音节目.
现在,
关节: {
"左_臂": [j1, j2, j3, j4, j5, j6, j7], #度, 7-DOF
"右手": [j1, j2, j3, j4, j5, j6, j7], #度, 7-DOF
"左_抓住器":0.0, # 0.0 =完全开放,1.0 =完全关闭
"右_抓住器": 0.0,
类
传感器框架
类 传感器框架
单个时间标记读取器件.
时刻标志浮动 时刻标志 Unix时代标志,在该装置上捕获的时刻分辨率为微秒.
系统的设备识别器. 对于LinkerBot O6:
对于LinkerBot O6:
根据设备类型,方案不同. 参见上述每个类型的文档.
文件的数据是从设备中收到的原始电缆格式包字节.
类
会议管理员
类 会议管理器
平台会议API的低级客户端. 设备类内部使用,但也可用于直接集成 (例如从自定义代理或外部管弦系统创建会议).
会议管理器.__init____(基础_url=RC_PLATFORM_URL)
| Parameter | Type | Description |
|---|---|---|
| base_url optional | str | Platform backend URL. Override for self-hosted deployments or staging environments. |
任何类型的设备,设备,硬件,连续程序,任何类型
在平台上创建一个新的远程操作会话. 返回所有需要开始流媒体的凭证,并打开浏览器面板.
| Parameter | Type | Description |
|---|---|---|
| device_type | str | SDK device type. E.g. "linker_o6", "l1". |
| device_id optional | str | None |
| hardware_serial optional | str | None |
返回
| Key | Type | Description |
|---|---|---|
| session_id | str | Unique session identifier. E.g. "RC-XXXX-XXXX". |
| deep_link | str | Full browser URL for the teleop panel. |
| ws_url | str | WebSocket relay URL for frame streaming. |
| guest_token | str | Short-lived token for unauthenticated browser access to this session. |
| expires_at | str | ISO 8601 expiry timestamp for the session. |
| device_type | str | Echo of the requested device type. |
从机器人中心.session进口SessionManager
会议管理员 (mgr)
时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间: 时间
打印(会议["深度_链接"])
检索现有会议的当前元数据.
| Parameter | Type | Description |
|---|---|---|
| session_id | str | The session ID returned by create_session() or rc session. |
返回
直接集成
平台 REST API
下面的REST终端点是SDK使用的 HTTP API.当Python SDK不合适时,使用它们进行直接集成 (例如非Python代理,嵌入式系统或服务器侧编排).
所有终端点都与
电话会议
- 创建一个新的SDK会议. 身体:
T57 - 获取 /api/teleop/sessions/{id}/sdk-info 获取现有会议的会议元数据,流媒体状态和WebSocket URL.
管道 L1
- 开始一个数据处理管道启动一个L1会议. 返回一个
T58 . - 检查一个会议的处理管道状态.
- 通过管道ID获取全管道运行详情,包括每个阶段状态和输出文物.
- 标准/高效/研究级 (标准/高效/研究级) 处理级配置列表.
配置
环境变量
| Variable | Default | Description |
|---|---|---|
| RC_PLATFORM_URL | https://platform.roboticscenter.ai |
Backend URL used by SessionManager and all CLI commands. Override for self-hosted or staging deployments. |
硬件
支持设备
| Device | --device flag |
Protocol | Status |
|---|---|---|---|
| LinkerBot O6 | linker-o6 |
USB Serial — RCSV AA55 header, 921600 baud | Production |
| VLAI L1 | l1 |
ROS2 / CAN-FD | Production |
每个版本中都会添加更多设备.查看
机器人技术新吗 这是一个SDK集成器的技术API参考.如果你正在学习机器人技术的基础知识







