我之前有在另一個問題詢問過了,但因為檔案的問題無法解決,目前的問題是我不知道報錯發生的問題是甚麼。
我之前有在另一個問題詢問過了,但因為檔案的問題無法解決,目前的問題是我不知道報錯發生的問題是甚麼。
Hi @mark zhen , In reference to the original question, was Kavika F's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.
If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.
Hey @mark zhen, I found one of your problems.
In your AGV Process Flow, the "Custom 1Code" activity tries to call ".first" on a variable that is null.
The "paths" variable comes out null, meaning that there is no "travelPath" subnode coming from the agvNavNode variable. When I go to the "agvNavNode" location, this is what I get (it's referencing TaskExecuter2 in the error at 18 seconds).
You'll have to get the paths of the agv another way.
沒錯這是您之前回覆的問題,但我想要嘗試將兩者進行結合,這樣也方便在很窄的路上利用a*來進行路徑的計算可以不會有邏輯死結的情況。
I had a look at the model you uploaded to google drive in your other post.
The collision logic will work without the 'Custom 1Code' activity. It was used to determine which TaskExecuter would wait and which one could continue immediately (simulating the waiting one stepping out of the way).
The 'Ignore Inactive Members' setting is currently active in the A* navigator. So when a TaskExecuter gets stopped, it will deallocate its node which allows the other to continue.
If you still want to use the logic where only one has to wait, you could read the destination from the currently active task and make a decision based on that.
In the example below, the TaskExecuter that is travelling towards Queue1 does not have to wait.
Important: The destination is determined before the TaskExecuter is stopped (yellow)! The activity marked in orange then later checks if the destination is Queue1. If so, a delay time of 0s is returned.
I noticed two errors in the ProcessFlow:
- The order of the Push the List activities should be switched; the parking is only made available once the AGV is pulled by another task.
- The push values in both activities are not set properly. Those should be the respective objects (AGV, ParkPoint).
19 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved