question

Jimmy avatar image
0 Likes"
Jimmy asked Logan Gold commented

When AGV meet Navigation Failed,reset the model and run automatically.

I'm trying to use FlexSim with an algorithm, and during operation, the AGV occasionally encounters a "Navigation Failed" message.

When this happens, I have to manually close the message box and press reset, then run again. I want to prevent the message box from popping up and have the model automatically rerun. How can I achieve this?

I don't want to keep monitoring the computer. I want the model to run the algorithm process automatically.

FlexSim 23.2.0
navigation
· 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 ·
@Jimmy, a user action cannot be executed from within a running session of a FlexSim model, which involves steps of resetting und starting a model run. You can only eliminate this occasional occurring error to prevent this user action. Other ways would need a scheduler that imitates user actions by a windows system program.
0 Likes 0 ·
Logan Gold avatar image Logan Gold ♦♦ commented ·

Hi @Jimmy, was Jason Lightfoot's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered

The AGV traveller event OnNavigationFailed can be detected in a process flow and set to override the return value with a 1 or 2 (see the documenation) which will prevent the pop-up message from appearing.

5 |100000

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