uBot Camera Capture Coordinator
让同一个采集组里的相机在同一仿真时刻采集,共用组序号和时间戳。自动采集按 Update Rate Hz 进行,第一次在启动后一个间隔。
Capture Group Once
Section titled “Capture Group Once”Capture Group OnceTarget is uBot Camera Capture CoordinatorTargetReturn Value
立即采集一组,不要求采集组在运行。组里所有相机都成功时返回 true。
| 引脚 | 方向 | 类型 |
|---|---|---|
| Return Value | 输出 | Boolean |
Get Dropped Capture Count
Section titled “Get Dropped Capture Count”Get Dropped Capture CountTarget is uBot Camera Capture CoordinatorTargetReturn Value
因为一帧跨过多个采集间隔而跳过的采集次数。Start Capture Group 时清零。
| 引脚 | 方向 | 类型 |
|---|---|---|
| Return Value | 输出 | Integer64 |
Get Registered Camera Count
Section titled “Get Registered Camera Count”Get Registered Camera CountTarget is uBot Camera Capture CoordinatorTargetReturn Value
登记在这个组 ID 下的相机数。
| 引脚 | 方向 | 类型 |
|---|---|---|
| Return Value | 输出 | Integer |
Is Capture Group Running
Section titled “Is Capture Group Running”Is Capture Group RunningTarget is uBot Camera Capture CoordinatorTargetReturn Value
自动采集是否在运行。
| 引脚 | 方向 | 类型 |
|---|---|---|
| Return Value | 输出 | Boolean |
Start Capture Group
Section titled “Start Capture Group”Start Capture GroupTarget is uBot Camera Capture CoordinatorTargetReturn Value
启动自动采集,第一次采集在一个间隔之后。Enabled 为 false 或协调器没有注册成功时返回 false。
| 引脚 | 方向 | 类型 |
|---|---|---|
| Return Value | 输出 | Boolean |
Stop Capture Group
Section titled “Stop Capture Group”Stop Capture GroupTarget is uBot Camera Capture CoordinatorTarget
停止自动采集。手动调用 Capture Group Once 仍然可用。
在 Components 面板选中组件,在 Details 面板底部 Events 区点事件旁的 + 即可生成事件节点。
On Capture Group Error
Section titled “On Capture Group Error”On Capture Group ErrorError Message
采集组出错时触发,Error Message 是原因。
| 引脚 | 方向 | 类型 |
|---|---|---|
| Error Message | 输出 | String |
未特别标注的属性:蓝图里只读,Details 面板里可以编辑。
| 属性 | 类型 | 默认值 | 说明 |
|---|---|---|---|
Auto StartbAutoStart · Camera Capture Group | Boolean | true | 为 true 时在 BeginPlay 自动启动采集组。 |
Capture Group IdCaptureGroupId · Camera Capture Group | String | "" | 采集组 ID,必须非空,并与组内相机上的 Capture Group Id 一致。一个 ID 只能有一个协调器。 |
EnabledbEnabled · Camera Capture Group | Boolean | true | 总开关。为 false 时 Start Capture Group 和 Capture Group Once 都返回 false。 |
Update Rate HzUpdateRateHz · Camera Capture Group | Float | 30.0 | 整组的采集频率,单位 Hz,范围 0.1 到 240。范围 0.1 – 240.0 |