You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何借助MoveByTransporter块让AGV直接将Agent送入Storage Cell?

实现AGV直接将Agent运送到Storage Cell的解决方案

方法1:通过坐标直接定位空闲Cell

你之前的思路完全可行,只需完善坐标设置即可:

  • 在MoveByTransporter块的Destination选项中选择「Coordinates」,然后完整填写对应维度的坐标(2D模型可忽略Z轴):
    • X:storage.getFreeCell().getX()
    • Y:storage.getFreeCell().getY()
    • Z(3D模型):storage.getFreeCell().getZ()
  • 关键补充:AGV到达坐标后,需要手动调用storage.put(agent)将料桶存入Cell,否则料桶只是停在坐标位置,不会被Storage系统管理。另外,建议在触发搬运前先判断storage.getFreeCellsCount() > 0,避免因无空闲Cell导致报错。

方法2:使用专用的MoveToStorageCell块(更高效)

物料搬运库提供了适配Storage场景的MoveToStorageCell块,无需手动计算坐标就能实现直达:

  • 拖入MoveToStorageCell块,配置以下核心参数:
    • 选择目标Storage对象
    • 指定Transporter Type为你的AGV类型
  • 该块会自动完成「查找空闲Cell→规划AGV路径到Cell位置→将料桶存入Cell」的全流程,无需额外代码。

避坑提示

  • 确保AGV的路径网络覆盖所有Storage Cell的位置,否则会出现路径规划失败的情况。
  • 3D模型中需确认Cell的Z坐标与AGV的停靠高度匹配,避免碰撞或无法到达。

内容的提问来源于stack exchange,提问作者Niklas Werner

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.06 01:10:15