question

Andy_zp avatar image
0 Likes"
Andy_zp asked Andy_zp commented

Questions about AGVNetwork

In the first control point passed by the AGV, two control points are generated on two parallel paths through the script, namely cp1 and cp2, and a new path is generated, whose name is path_in, and path_in connects cp1 and cp2. Add a task sequence through the script, so that the AGV passes through cp1 and cp2 in turn, but after the AGV reaches cp1, it will report an error, and there is no valid path to reach cp2.

FlexSim 22.2.0
agvnetwork
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Ivana Moric avatar image Ivana Moric commented ·
Hello wangxu_zp,

do you have a model that you can upload so that one we see what's happening? It's hard to grasp what's happening without a picture or model.

0 Likes 0 ·
Andy_zp avatar image Andy_zp Ivana Moric commented ·
0 Likes 0 ·
Andy_zp avatar image Andy_zp Ivana Moric commented ·

If you have any other questions or needs, please feel free to ask me and look forward to your reply.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Andy_zp commented

I found that the AGV will travel to the second cp without issues it is located on the added path section. From there the AGV will also travel to a control point on the second path.

So as a workaround, adding a third, intermediate, control point on the section between the two parallel paths seems to work.

agv-network-demo-fm.fsm

With that said, editing the AGV network during a model is unorthodox and not intended. It is likely that you might encounter additional problems in the future. Maybe a different travel mechanism (like A*) might be more suited to your needs?


· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

@wangxu_zp You can also consider dynamically adding allocatable object routing constraints, or customize the routing using the AGV Customization Delegate.

0 Likes 0 ·
Andy_zp avatar image Andy_zp commented ·

I want to simulate the process of a ship selecting an anchorage and maneuvering into a berth using the script mentioned above. However, I am not familiar with how to use A* or other methods to accomplish a dynamic selection process while avoiding potential conflicts or collisions. If you have any better solutions, I would greatly appreciate your guidance. Your solution of adding a CP in the middle process can solve my current problem, thank you very much.

0 Likes 0 ·