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