question

Aditya Prakash avatar image
3 Likes"
Aditya Prakash asked Jordan Johnson commented

How to handle collision when using A* Navigator ?

Has anyone worked on Collision handling on a A* Navigator. I want to know, how to handle collision on A* ? Also the pre-defined option for "createtraveltoloctask" for turning left, doesn't work on A*. [Attached model.] agv-proto1.fsm

FlexSim 16.1.0
astarcollision sphere
agv-proto1.fsm (20.7 KiB)
· 3
5 |100000

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

Sam Stubbs avatar image Sam Stubbs ♦ commented ·

@Aditya Prakash You are right that the "Turn to the Left" option in the Handle Collision field conflicts with the timing and pathing of the AStar navigator. It's designed to handle collisions in the default navigator. I'm currently working on finding a potential work around to the AStar collision issue, and wanted to give you an update letting you know.

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Sam Stubbs ♦ commented ·

@Sam Stubbs in the pre-modules version the Flexsim code was visible in library tree. I know that the new approach secures the code from copying. But is it still possible to write own script code under the nodes in the library and so to change the behaviour of the module. If it is still possible in which node should the code be written and which parameters are parsed into that node by default for Aditya's experiment.

0 Likes 0 ·
Jordan Johnson avatar image Jordan Johnson ♦♦ Joerg Vogel commented ·

As far as I know, the modules (AStar, Process Flow, Conveyor, and AGV) cannot be modified using extra script nodes in the tree. While many variables governing logic are exposed (deep search in AStar, for example), the logic itself is entirely contained in the DLL.

0 Likes 0 ·

1 Answer

Sam Stubbs avatar image
2 Likes"
Sam Stubbs answered

So unfortunately, after trying different approaches to tackle this issue, and after talking with the developers, it seems that AStar in its current implementation is not really suitable for custom intervention. However, I would encourage you to post an Idea here on Answers requesting a dynamic AStar module that implements collision detection. That would let the developers know that there are users interested in this functionality.

5 |100000

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