question

Lucas Rodrigues avatar image
0 Likes"
Lucas Rodrigues asked Lucas Rodrigues commented

Tips on AGV trailers visual

Hi,

How can I avoid or improve this kind of visual problem on the AGV network? The AGV trailers moves off the path. All the curve paths are already smooth.

flexsim-etcrqpagig.gif

I tried to implement some similar to Phill answer, but it does not work. I put a condition rule for the path shown in the image above. This makes the AGV only have one possible path ahead of it.

1728568701700.png

AGV trailer moves off AGV path - FlexSim Community

FYI. The path that the AGV is traveling is the same util the curved one.
1728570615775.png


FlexSim 22.2.4
agvpathagv traileragv train
· 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.

Lucas Rodrigues avatar image Lucas Rodrigues commented ·

I was able to replicate in a small model (using FlexSim 22.2.4)

agv_strange_visualbehavior.fsm

0 Likes 0 ·

1 Answer

Lucas Klein avatar image
0 Likes"
Lucas Klein answered Lucas Rodrigues commented

Hello Lucas,

The issue might be that as the curved path is not in the route used by the AGV or its trailers, it's being disconsidered in the maneuver, as you can see that if you remove the curved path, the model keeps working fine with the trailers getting off the path.
A solution that I found is to separate the maneuver into two differents "AGV Travel" activities, one to move all the composition to a ControlPoint located after the curve, referencing the last trailer, then another "AGV Travel" to the final destination, this way the AGV considers the curved path.

agv-strange-visualbehavior_maneuver.fsm

Best regards,


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

Lucas Rodrigues avatar image Lucas Rodrigues commented ·
Thank you! This was the solution I found as well.
0 Likes 0 ·
Lucas Rodrigues avatar image Lucas Rodrigues Lucas Rodrigues commented ·

Actually, it was a similar solution, since my train has different sizes. For anyone who needs it, I used the 'find closest CP' script (you can find it in the AGV Network Properties) to locate the closest CP to the last trailer (using the train length to predict the location). Then I used AGV.redirect() with REDIRECT_AND_CONTINUE_ON_ARRIVAL.

2 Likes 2 ·