question

Jonathan avatar image
0 Likes"
Jonathan asked Ben Wilson edited

A* Navigation prevents setloc() from working on Operator

I just found this in my model. An operator I had using A* Navigation I also placed an On Reset trigger to setloc() to another area. Regardless of where that area is (in or out of the A* area) the trigger code would not work and the console gave no errors.

When I removed A* from the operators travel options and hit reset, the trigger fired and worked properly.

FlexSim 20.2.0
bug reportflexsim 20.2.0a star navigationnavigationsetloc
· 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.

Joerg Vogel avatar image Joerg Vogel commented ·

@Jonathan S3, Have you cleared the reset position of the object already?

0 Likes 0 ·
Jonathan avatar image Jonathan Joerg Vogel commented ·

I'm not sure what you mean. I have other operators that use the same trigger, but who do not use A* and the trigger works.

0 Likes 0 ·

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Ben Wilson edited

I can't reproduce it. Can you set up the condition in the attached model?

test astar operator reset SetLoc.fsm


· 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.

Jonathan avatar image Jonathan commented ·

I copied my code to the test model and couldn't replicate it either. It's possible there is some conflict in my overall scenario. (I'm unable to share my model)

In my model. if I set my operator to default navigation the code works. But if I set it to A* it doesn't work anymore. I get no errors or anything either.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Jonathan commented ·

You have the option of posting it privately in a new post so that other users will not be able to see it. We can also see if anyone else has some thoughts as to what might be happening.

0 Likes 0 ·
Ben Wilson avatar image Ben Wilson ♦♦ Jonathan commented ·

In addition to a private question, clients with a current maintenance agreement can also contact their local FlexSim distributor directly for phone support. In lieu of sharing the model file, one of our team could get on a webmeeting with you to help troubleshoot.

0 Likes 0 ·