question

Jeremy R avatar image
0 Likes"
Jeremy R asked Ryan Clark answered

A* Navigation over invalid path

Within an A* network, I sometimes have occasions where an operator is told to travel to an object that it cannot reach.

At the moment, the operator will travel as close as possible to the target, successfully drop off its flowitem, then continue as normal. Ideally, I would be able to do at least one of the following:

  • Before tasking the operator to travel to the location, I want to have the ability to check if any valid path exists from the operator's current location to the target location.
  • When an operator is given a command to travel to a location which it cannot reach, I want the transport operation to fail somehow. Any of these results would be fine:
    • Stopping the model with an error message
    • Stopping the operator either before or after it travels
    • The operator getting stuck against a wall, unable to complete the travel

I am concerned that invalid behaviour could be possible and go unnoticed because I have no way to check if an A* travel is invalid, and if an invalid travel is commanded it does not cause any type of failure state.

FlexSim 21.2.3
astarastar navigator
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

·
Ryan Clark avatar image
0 Likes"
Ryan Clark answered

Hello @Jeremy R,

As you've noticed, the behavior you want your model to exhibit seems to not be an option in the current version of FlexSim, as shown in this documentation.

I don't know of any workarounds, but this may be a revision/option in a later version of the software.

5 |100000

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

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.