question

Aaron C avatar image
0 Likes"
Aaron C asked Mischa Spelt edited

How do I get Control Points adjacent to an AGV traveler?

If an AGV is stopped at a control point and there are 3 different control points that he could get to without traveling through other control points, how could I get a reference to those 3 control points?

FlexSim 19.0.0
agvagv networkagv travel direction
· 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.

gilbert jerald avatar image gilbert jerald commented ·

@Aaron C ·

Hi,

Could you attach a reference model to help you?

Thanks

0 Likes 0 ·
Aaron C avatar image Aaron C gilbert jerald commented ·

Unfortunately, due to the sensitive nature of business, my company doesn't allow uploads. Perhaps I can visualize what I'm asking for you. If the X marks where the AGV is, and the o's are the control points along the navigation network, I'd like to be able to get, in an array perhaps, the three CAPITAL O's, as they are the control points directly "adjacent" to the AGV. Hopefully this helps....

 O - - - - -o - - - - - -o
|
|
X- - - - - O- - - - -o - - - - - -o
|
|
O - - - - - -o - - - - -o
0 Likes 0 ·
Aaron C avatar image Aaron C Aaron C commented ·

The diagram didn't post in the same way that I typed it, but you may still get what I'm trying to say

0 Likes 0 ·

1 Answer

·
Joshua S avatar image
0 Likes"
Joshua S answered Aaron C commented

This requires a little manual work for each node, but here is a way to do this.

In the Properties windows of the AGV Network, add another connection type using the green plus button. Toggle the option to push it onto a list.

Now create an "A" connection from the central node to the nodes adjacent to it.

Now reset and run and you will see a new list created that has generated a partition for each of the connected nodes and the nodes it is connected to. To pull from this list, you will just need to pull from the partition based on the node you want. You can use AGV.currentCP to get the current control point it is on and use that to pull.


pic1.png (26.6 KiB)
pic2.png (13.7 KiB)
· 1
5 |100000

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

Aaron C avatar image Aaron C commented ·

This is perfect!! Thank you!

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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