question

Kamil S avatar image
0 Likes"
Kamil S asked anthony.johnson edited

AGV's turning

Hello,
I'm working with AGV
and my train is behaving with FlipThreshold =0 as FlipThreshold =90
so my train travels backwards last path

do anybody have any solution to repair this?

Regards,
Kamil

FlexSim 20.0.0
agv problem
agv.png (220.0 KiB)
· 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.

tannerp avatar image tannerp commented ·

Hi @Kamil S,

Could you post your model so we can take a closer look? Do you have any triggers that change the visual on your AGV? Are the paths all set to be one-way or two-way? There's a number of factors that play into this, so it would be helpful to have your model to look at. If your model contains proprietary information, you can upload it in a private question or create a smaller sample model that behaves the same way.

0 Likes 0 ·
Kamil S avatar image Kamil S commented ·

Hi!
Thanks for answer. I'm sorry that it took so long but in the attachment I inserted a model with the problem.mr-agv-200109-2.fsm

0 Likes 0 ·
mr-agv-200109-2.fsm (177.3 KiB)
tannerp avatar image
0 Likes"
tannerp answered

@Kamil S,

After talking with the developers, I found out that this behavior is by design. I'm not sure where the flip threshold comes into play, as it does seem to overlook that when running...

As a workaround, I suggest using Join Paths in your model to create curved paths for the AGV so that the abrupt angles don't cause the AGV to flip around. You can make the curved paths small so they're discrete. Hopefully this helps.

mr-agv-help.fsm


curved-path.png (21.5 KiB)
mr-agv-help.fsm (177.6 KiB)
5 |100000

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

anthony.johnson avatar image
1 Like"
anthony.johnson answered anthony.johnson edited

Because it allows users to define orientation-specific routing, the resulting AGV routing algorithm requires that "flip threshold" be defined globally, instead of on each individual TaskExecuter. The AGV navigator has a "turn around threshold" variable that you can set. Unfortunately, in 20.0 and earlier, this value is not available in the UI, but you can set it in the tree directly. It is at MODEL:/AGVNetwork>variables/turnAroundThreshold. If you change this to a higher value (170?), then AGVs will stay traveling forward at sharper turns.

We'll put this value into the AGV Network properties in the next release.

5 |100000

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