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!