question

Felix Möhlmann avatar image
1 Like"
Felix Möhlmann asked Felix Möhlmann commented

AGV not finishing travel on code generated path grid

I was doing tests with creating a grid of AGV paths via code and the new "addAllocationPoint" method added 23.0.

I ran into an issue with AGVs not completing their travel tasks at certain points, when travelling in a certain direction (y- in the model). They either travel to their destination control point and stop but do not complete the task and keep the previous control point allocated as well.

Or they stop at the penultimate control point, allocate the next, final one but do not resume their travel.

1673863344871.png

When looking at the event list, I can see that in both cases neither a preArrival event, nor a traversal event are created.

1673863510021.png

(Normal behaviour, the traversal event of the current control point and the preArrival event for the next one are visible)

1673863571746.png

(Only the traversal event is pending, no event for the next control point)

Any idea what might be causing this? I was testing how to add additional allocation points to account for different AGV geometry (see TaskExecuter1 and its onBuildTravelPath trigger). So it's possible that I accidently screwed up something in the AGV logic. However the same issue happens in a fresh model that uses the same code to generate the grid and on a different PC as well.

AGV_gridfromcode_travelbug.fsm

FlexSim 23.0.1
agvbugtravelagv code
· 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.

Joerg Vogel avatar image Joerg Vogel commented ·

I have seen in the StraightPath Objects a variable node called "transferCluster", which contains the coordinates of the path transfer points directly . You would not need to compute the location from any mathematic operation, you can read those values directly.

transfercluster-transferpoints-in-straightpath.jpg

The scheme is first and last horizontal path with 12 transfer points, all other horizontal paths do not contain any transfer points. All vertical straight paths contain 10 transfer points, without any connection to first and last horizontal straight paths at all.

In your current path points created of Control Points I see distAlong parameters a bit smaller than they should look like. I think that this can be a problem to get a Taskexecuter to the right transfer point.

straightpath-pathpoints.jpg

Edit: I get same results for distAlong, And using coordinates of TransferCluster node does not improve anything. Only some destinations work. agv-gridfromcode-travelbug_JV_scripts.fsm

1 Like 1 ·
Felix Möhlmann avatar image Felix Möhlmann Joerg Vogel commented ·
Thank you for doing some further investigation into possible causes/solutions.
0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ Felix Möhlmann commented ·

Hello @Felix Möhlmann and @Joerg Vogel

We have notified the development team and they will take a look at this

2 Likes 2 ·

1 Answer

·
Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered Felix Möhlmann commented

Sorry for the delay. I just opened this in 23.0.4 to investigate, and the issue seems not to happen. Both AGVs are able to travel to their final destination, and both tokens move to the delay activity. Can you confirm that this issue is resolved on your side?

· 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.

Felix Möhlmann avatar image Felix Möhlmann commented ·
Just tested it and can confirm that it works now. Thanks for the update!
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.