question

Ryusuke T avatar image
0 Likes"
Ryusuke T asked Ryusuke T commented

Cannot move to the correct position if the destination is rectangular

I'm using Travel in my process flow to move a TaskExecuter to a destination.

If the destination is rectangular, it will stop halfway and you will not be able to move it to the correct position. I can use load or unload to move it to the correct position, but it is not available in this situation. Is there a solution?

1629086392884.png

The attached model data is created with FlexSim 21.2.0, but the version actually used is 21.0.6. (Reproduced in both versions)

Thank you in advance.

Movement test.fsm

FlexSim 21.0.6
travelflexsim 21.0.6
1629086392884.png (109.7 KiB)
movement-test.fsm (31.2 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.

1 Answer

Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered Ryusuke T commented

You could determine the location the task executer should travel to using the "getLocation" command on the queue and then use the "Travel to Location" activity, which lets you specify the exact coordinates to travel to. (Be aware that you will have to use ".project" on the coordinates if the queue is located inside a container object and not directly in the model)

1629094935807.pngmovement-test_1.fsm

Information about the command can be found here:

https://docs.flexsim.com/en/21.1/Reference/CodingInFlexSim/FlexScriptAPIReference/Tree/Object.html#Method-getLocation


1629094935807.png (19.8 KiB)
movement-test-1.fsm (33.2 KiB)
· 5
5 |100000

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

Ryusuke T avatar image Ryusuke T commented ·

@elix Möhlmann

Thank you for your prompt reply. I would like to deal with it this way.

By the way, is it a system specification that stops in the middle if it is a rectangular destination?


Thank you.

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Ryusuke T commented ·
I don't know for certain to be honest, but my guess would be the navigator only takes into account the largest side of the object and travels towards the centerpoint until it is that distance away. Without taking the rotation of the object and relative angle into account to save computing resources.
0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Felix Möhlmann commented ·

@Felix Möhlmann @Ryusuke T

The default navigator ends the travel task when the object reaches a point near the object which it calculates by taking the longest dimension of the destination and using that as the diameter of a circle centered on the destination object.

1629228572794.png

TravelRadius.fsm

1 Like 1 ·
travelradius.fsm (32.3 KiB)
1629228572794.png (99.1 KiB)
Show more comments
Show more comments