question

Mischa Spelt avatar image
0 Likes"
Mischa Spelt asked Ben Wilson commented

Exclude single wall from A*

Hi,

Is it possible to exclude a single wall as an A* barrier?

I am modelling a facility where most walls are also barriers to AGVs. One wall should be there for visualization but allow travellers to pass through (it has a small gap that allows AGVs to drive under it but not people).

I tried removing the wall from the A* by Q-connection, but that removes all walls. I found one workaround which involves creating a bridge at every grid node but that's a lot of work. Is there a better solution?

I'd also be happy if I can create something that looks like a wall but isn't, but my attempts at drawing a plane or cube with alpha and a texture still don't give exactly the same result for the transparency.

Any hints or solutions are much appreciated!

ExcludeSingleWall.fsm

FlexSim 20.2.2
flexsim 20.2.2astar navigatorbarrier
1604662064228.png (615.1 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.

1 Answer

Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered

If you leave a small gap in the wall right at a node then travelers can still cross the wall.

WallGap.fsm


You can also use bridges to do this (as you mentioned).

Bridge.fsm


gap.gif (699.5 KiB)
bridge.gif (462.9 KiB)
wallgap.fsm (29.2 KiB)
bridge.fsm (29.9 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.