A * Navigator does not detect the barriers

A * Navigator does not detect the barriers

omar_aguilera_rico
Not applicable
158 Views
2 Replies
Message 1 of 3

A * Navigator does not detect the barriers

omar_aguilera_rico
Not applicable

[ FlexSim 19.1.0 ]

Hello! I am working on a model in which I implemented the A * Navigator when doing its construction. I realized that not all barriers are added to the A * Navigator. They appear to me in the Tree as an object and not inside the A * Navigator. How can i fix this?

19769-tree-anavigator.png

19770-tree.png

0 Likes
Accepted solutions (1)
159 Views
2 Replies
Replies (2)
Message 2 of 3

joshua_s
Not applicable
Accepted solution

To throw all your barriers back into A*, run this script

for (int i = 1; i <= content(model); i++)
{
	if(rank(model,i).name.search("Barrier")==1)
		moveobject(rank(model,i),Model.find("AStarNavigator"));
}

Can you explain how this occurred? I tried a variety of steps to reproduce this issue but couldn't.

Message 3 of 3

omar_aguilera_rico
Not applicable

Clear @Joshua S! I explain to you what I did. I was really copying and pasting barriers. Place barriers within a plane and some if detected by the A * Navigator and others not. Those were the two activities that I carried out and I realized that what was mentioned above happened. If you think it is necessary for you to share the model so that you can have a look, write to omaraguilera@flexsim.com.mx

0 Likes