Chunk execute actions that do not need an event response
未关闭
Feature Request
- 主要语言
- C#
- 星标
- 1.8k
- 派生
- 297
- PR 合并指标
- 30 天内没有已合并 PR
描述
Expected syntax:
```python
from ai2thor.controller import Controller
controller = Controller()
with controller.no_response():
controller.reset(scene="FloorPlan28")
controller.step("RandomizeColors")
controller.step("InitialRandomSpawn")
controller.step("PickupObject", objectId={...}, forceAction=True)
controller.step("Teleport", position=dict(x=0, y=0, z=0))
```
where the returned event for each action in the `no_response` context manager is `None` (meaning no frames or metadata is passed back to Python). This should speed up initialization which increasingly uses more than 1 action.
贡献指南
评估
这个 Issue 还没有评估数据。