控制该巡检路线
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
target | string | 是 | ObjectId | 场景中的巡检路线 |
type | string | 是 | play | play/pause/stop 可选值: playpausestop |
调用
typescript
piclient.emit("pathfollow.control",{
target: "ObjectId", //场景中的巡检路线
type: "play"//play/pause/stop
})