如何将代理设置为延迟块?
由Seizetransporter块,我的AGV抓住了一个名为“ Sitz”的代理,并通过Transporter Block移动将其传输到延迟块。
当AGV进入延迟块时,运输的代理“ SITZ”将其货物位置更改为0。
我试图通过在MAIN上创建一个名为P_AssemblyHight的参数来解决该问题,该参数为默认值1.0,并且在延迟块的操作部分中的以下代码: Agent。
无论如何,此操作不会执行。 我该怎么办,我的运输产品(称为“ Sitz”)停留在AGV上而不掉落在延迟块上?
检查两个屏幕截图以更好地理解。 非常感谢!
src =“ https://i.sstatic.net/bhdwv.png”
=“”>
By seizeTransporter block my AGV seizes an agent called "Sitz" and transports it via Move by Transporter block to a Delay Block.
When AGV enters the delay block the transported agent "Sitz" is changing its cargo location to 0.
I tried to fix that issue with creating an parameter on main called p_assemblyHight with default value 1.0 and the following code in Actions section of the delay Block: agent.setHight(p_assemblyHight, METER);
Anyway this action will not execute.
What can I do so that my transported product (called "Sitz") stays on the agv and not dropping in delay block?
Check the two screenshots for better understanding.
Thank you a lot!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
setheight
方法不会更改z组件,而是代理呈现的高度。与您无关。您需要在延迟块中访问
sitz
并更改其z组件。在延迟块调用中:
最后一个参数是z组件,根据需要进行调整。第2个只需确保XY组件没有更改
The
setHeight
method does not change the z-component, but the height of an agent presentation. Irrelevant for you.You need to access your
Sitz
in the delay block and change its z-component.In the Delay block call:
The last argument is the Z component, adjust as needed. The first 2 just make sure the XY components are not changed