question

Jouky D avatar image
0 Likes"
Jouky D asked Jouky D commented

AGV: Delete task to idle state.

How can I cancel a travel task in AGV? I destroy the subnode of activetasksequence, however, sometimes, when I want the AGV travel again, it does not work. Sometimes it returns there is no possible route (however, if I Show Rout Accessibiility between the 2 CPs, it shows a route). The unique difference when I destroy the activetasksequence subnode between one AGV that works and another that does not are these:

AGV Travel Works:

originCP: NULL

curAmps: 1

traversals.kinematicIndex: 1

accumTraversals: size = 1

leadAccumTraversal: AGVNetwork>variables/agvs/AGV/accumTraversals/1


AGV Travel don't work:

originCP: ControlPoint74

curAmps: 10

traversals.kinematicIndex: 3

accumTraversals: size = 2

leadAccumTraversal: AGVNetwork>variables/agvs/AGV/accumTraversals/2

The cpdistance and distancetotravel calculation is Ok in both cases. Some ideas why is not working? Is there a way to put an AGV to a full idle state forgetting all the tasks?

Thank you!


FlexSim 23.1.2
agvagvnetworkactivetasksequence
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

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jouky D commented

Deploy a preempting task sequence with the preempt option PREEMPT_AND_ABORT_ACTIVE

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